Before installation, make sure your Node.js version is 14 or higher (use node -v
)
- Clone this repo
- Rename
example.env
to.env
- Create Application: https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app
- Fill
.env
file with credentials gained in step 3- Paste Application ID into
OAUTH_APP_ID
- Paste Secret into
OAUTH_APP_SECRET
- Paste Application ID into
- Run
npm start
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Microsoft's Graph API Express Example - I used it because API docs are awful and I couldn't understand it.