In this tutorial we learn how to apply protected routes with jwt authentication and authorization in spring.
- Java 17
- Spring-boot 3.1.5
- JWT
- Hibernate/JPA
- PostgreSQL
1 - Make sure docker is running and start the database with docker compose:
$ docker compose up
2 - Run the application:
$ mvn spring-boot:run
Did you find any bug or wanna tell me something? Let me know in my Twitter/X.