https://github.com/lennonjesus/angular-spring-security
Simple Angular JS Authentication with Spring Boot & Spring Security (in memory auth)
https://github.com/lennonjesus/angular-spring-security
angular-js-authentication backend frontend spring-boot spring-security
Last synced: about 2 months ago
JSON representation
Simple Angular JS Authentication with Spring Boot & Spring Security (in memory auth)
- Host: GitHub
- URL: https://github.com/lennonjesus/angular-spring-security
- Owner: lennonjesus
- License: mit
- Created: 2016-01-05T20:15:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-13T20:21:16.000Z (over 10 years ago)
- Last Synced: 2025-12-30T13:11:33.099Z (6 months ago)
- Topics: angular-js-authentication, backend, frontend, spring-boot, spring-security
- Language: Java
- Homepage:
- Size: 77.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
### Simple Angular JS Authentication with Spring Boot & Spring Security (in memory auth)
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.
#### Clone this repo
```
$ git clone https://github.com/lennonjesus/angular-spring-security.git
```
#### Run api project (it will download dependencies, compile sources and start backend)
```
$ mvn spring-boot:run
```
#### Install frontend project dependencies
```
$ npm install
```
```
$ bower install
```
#### Run frontend project
```
$ gulp serve
```
#### Open your browser
```
http://localhost:9000
```
#### Demo users
|login|password|role|
|-----|:------:|---:|
|user|user|user|
|admin|admin|admin|
#### TODO
* [ ] Tests
* [ ] Persist auth token
#### Contributions
Issues and pull requests are welcome!
#### LICENSE
[MIT](LICENSE.md)