This is the UI side application for for SpringBoot App
This sub-project is cloned from https://github.com/bfwg/angular-spring-starter
This will serve as a broiler plate for token based authentication system via oauth.
[appserver] Just start the application with the Spring Boot maven plugin (mvn spring-boot:run
). The application is
running at http://localhost:8080.
[apps] Run ng serve
for a dev server. Navigate to http://localhost:4200/
.
There are three user accounts present to demonstrate the different levels of access to the endpoints in the API and the different authorization exceptions: Encryption done via Bycrypt (https://www.browserling.com/tools/bcrypt)
Admin/Password - imdadareeph:imdadareeph
User/Password - user:123
Make sure you also have NPM 3.1, Node 6.9.5 and [email protected] globally installed
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the ../server/src/main/resorces/static/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.