This project is a simple sample of authentication of an Angular JS frontend application with a simple Spring Boot backend API with Spring Security.
You should have Git, Java, Maven and NodeJS installed.
$ git clone https://github.com/lennonjesus/angular-spring-security-auth-sample.git
$ mvn spring-boot:run
$ npm install -g gulp bower && npm install && bower install
$ gulp serve
http://localhost:9000
login | password | role |
---|---|---|
user | user | user |
admin | admin | admin |
- Tests
- Persist auth token
Issues and pull requests are welcome!