A Client & Server boilerplate for a React app that uses the Outlook API.
This boilerplate brings in:
- React
- mobx
- gulp
- webpack
- express
- simple-oauth2
And requires you to register an application to access the Outlook REST API.
git clone https://github.com/kenotron/outlook-api-client-boilerplate.git
npm i
2. Register a new application in the Azure App Registration portal
- Sign In -> Add an App -> Fill out details
- Copy Application ID, paste it in the clientId under
src/server/config.ts
- Generate New Password, paste it in the clientSecret under
src/server/config.ts
- Add Platform -> Web -> paste this in for the text field:
http://localhost:3000/authorize
- Hit Save Button
- Then, make sure that you DON'T ever check in the config.ts by typing this:
git update-index --assume-unchanged src/server/config.ts
npm start
Now, simply open your browser to http://localhost:3000