Wishtack's Angular Authentication and Authorization Demonstration
This project is a demonstration of one way of implementing authentication and authorization in Angular.
It was presented on Angular Air 122.
The implementation is divided into 5 steps (thus, 5 branches):
- 4-cross-window-sync ;)
The ReST API is implemented in Python so you will need python (including pip and virtualenv) and npm (or yarn).
virtualenv venv . venv/bin/activate # Enter the virtualenv. pip install -r requirements.txt # Install python dependencies. yarn install # Install JS dependencies.
Then you can open your browser on http://localhost:4200
. venv/bin/activate # Enter the virtualenv. yarn start
To get more help on the Angular CLI use
ng help or go check out the Angular CLI README.