This is just an small Angular 4 example in order to ilustrate how to authenticate using JWT. This depends from API server contained in the JWT-xample repository
- npm >= 3.10.10
- Angular CLI >= 1.2.0.
- Clone this repository
- From the command-line:
:~$ cd ng-jwt-xample
:~$ npm install
From the command-line:
:~$ ng serve
Then navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files ;).
This Angular4 example was peformed using the following post: