Build a Spring Boot Auth with HttpOnly Cookie, JWT, Spring Security and Spring Data MongoDB. You'll know:
- Appropriate Flow for User Login and Registration with JWT
- Spring Boot Rest API Architecture with Spring Security
- How to configure Spring Security to work with JWT
- How to define Data Models and association for User Login and Registration
- Way to get and generate Cookies for Token
- Way to use Spring Data MongoDB to interact with MongoDB Database
You can have an overview of our Spring Boot Server with the diagram below:
For more detail, please visit:
Working with Front-end:
Angular 12 / Angular 13 / Angular 14 / Angular 15 / Angular 16 / Angular 17
More Practice:
Validation: Spring Boot Validate Request Body
Documentation: Spring Boot and Swagger 3 example
Caching: Spring Boot Redis Cache example
Fullstack:
Run both Back-end & Front-end in one place:
mvn spring-boot:run