Develop
Dev environment setup
Prerequisites
- Azure AD admin to create app registrations
- Visual Studio Code
- Node.js latest
Steps
-
Create an App registration :
- SPA with Access tokens and ID tokens
- Redirect URI : http://localhost:3000
- Permissions :
- delegated Azure Service Management / user_impersonation
- delegated Microsoft Graph / Calendars.Read
- delegated Microsoft Graph / User.Read
- delegated Microsoft Graph / openid
- delegated Microsoft Graph / profile
-
Retrieve the code from https://github.com/Azure/azure-visual-intelligence
- Open in Visual Studio Code
- Create /src/common/Config.dev.ts using Config.env.ts as a template
- Edit /src/common/Config.dev.ts and fill in those 3 placeholders :
clientId: "**_APP_ID_**", authority: "https://login.microsoftonline.com/___TENANT_ID___", redirectUri: "**_REDIRECT_URI_**",
- Open a terminal and run
npm install
- Run
npm start
Contribute
Look at the issues here : https://github.com/Azure/azure-visual-intelligence/issues