https://github.com/hendisantika/spring-boot-jwt-authentication
Spring Security JWT Authentication – RestAPIs SpringBoot + Spring MVC + Spring JPA + MySQL
https://github.com/hendisantika/spring-boot-jwt-authentication
Last synced: about 2 months ago
JSON representation
Spring Security JWT Authentication – RestAPIs SpringBoot + Spring MVC + Spring JPA + MySQL
- Host: GitHub
- URL: https://github.com/hendisantika/spring-boot-jwt-authentication
- Owner: hendisantika
- Created: 2018-10-04T21:52:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-22T20:41:02.000Z (2 months ago)
- Last Synced: 2025-03-22T21:33:11.623Z (2 months ago)
- Language: Java
- Size: 1.13 MB
- Stars: 5
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-boot-jwt-authentication
Run this project by this command :
`mvn clean spring-boot:run`
Check database tables ->

– Insert data to roles table ->
```
INSERT INTO roles(name) VALUES('ROLE_USER');
INSERT INTO roles(name) VALUES('ROLE_PM');
INSERT INTO roles(name) VALUES('ROLE_ADMIN');
```
SignUp
Sign-Up 3 users:
* Naruto has ROLE_PM & ROLE_USER role
* Sasuke has ROLE_USER roles
* Kakashi has ROLE_ADMIN roleNaruto as User & PM

Sasuke as User

Kakashi as Admin
