A simple starter project showing how to use ADAL with Angular2
- Clone or fork this repository
- Make sure you have node.js installed version 5+
- Make sure you have NPM installed version 3+
WINDOWS ONLY
runnpm install -g webpack webpack-dev-server typescript
to install global dependencies- run
npm install
to install dependencies - setup your Azure Active Directory and Register your application (https://docs.microsoft.com/en-us/azure/active-directory/active-directory-app-registration)
- update /services/config.service.ts with your Tenant and ClientIDs
- run
npm start
to fire up dev server - open browser to
http://localhost:5000
- if you want to use other port, open
package.json
file, then change port in--port 5000
script
In order to see this demo in full, you must run the backend service paired with this project.