Skip to content

Develop

Dev environment setup

Prerequisites

  • Azure AD admin to create app registrations
  • Visual Studio Code
  • Node.js latest

Steps

  1. 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
  2. Retrieve the code from https://github.com/Azure/azure-visual-intelligence

  3. Open in Visual Studio Code
  4. Create /src/common/Config.dev.ts using Config.env.ts as a template
  5. 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_**",
    
  6. Open a terminal and run npm install
  7. Run npm start

Contribute

Look at the issues here : https://github.com/Azure/azure-visual-intelligence/issues