https://github.com/m1guelsb/spring-auth
Tutorial where we learn how to implement a native spring authentication and authorization flow
https://github.com/m1guelsb/spring-auth
java jwt spring-boot spring-security
Last synced: 11 months ago
JSON representation
Tutorial where we learn how to implement a native spring authentication and authorization flow
- Host: GitHub
- URL: https://github.com/m1guelsb/spring-auth
- Owner: m1guelsb
- Created: 2023-11-16T22:47:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T18:50:59.000Z (over 2 years ago)
- Last Synced: 2024-04-14T03:55:13.447Z (about 2 years ago)
- Topics: java, jwt, spring-boot, spring-security
- Language: Java
- Homepage:
- Size: 1.27 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README


---
## About 🔍
In this tutorial we learn how to apply protected routes with jwt authentication and authorization in spring.
## Stack 🔧
- Java 17
- Spring-boot 3.1.5
- JWT
- Hibernate/JPA
- PostgreSQL
---
## How to run 🏃
1 - Make sure docker is running and start the database with docker compose:
```bash
$ docker compose up
```
2 - Run the application:
```bash
$ mvn spring-boot:run
```
>Did you find any bug or wanna tell me something?
Let me know in my [Twitter/X](https://x.com/m1guelsb).