This project was generated with Angular CLI version 15.2.2.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
- https://learn.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-angular-auth-code
- https://jasonwatmore.com/post/2022/12/21/angular-14-crud-example-with-reactive-forms
- https://medium.com/medialesson/group-authorization-in-angular-with-azure-ad-and-app-roles-1120c4b91163
- This app assumes you followed all the steps in https://github.com/maddadder/adventurebot
- Once complete you can download the Open Api definition to src/AngularClient/OpenAPIs/
- To generate the client read api run
npm run generateread
- To generate the client readwrite api run
npm run generatereadwrite
- Kill any active session if it's already running:
sudo kill $(sudo lsof -t -i:4200)
- ng serve --ssl true
- Initial Setup
ng add angular-cli-ghpages
ng deploy --base-href=/adventurebot-angular/