This repository contains a comprehensive example of token-based authentication using Spring Boot, Spring Security, and JSON Web Tokens (JWT). It includes integration with Spring Data JPA for database interactions and MySQL as the underlying database.
- Token-based Authentication: Secure your Spring Boot application using JSON Web Tokens.
- Spring Security Integration: Leverage Spring Security for robust authentication and authorization.
- Spring Data JPA with MySQL: Store and retrieve user information using Spring Data JPA with MySQL database.
- Maven Build: Simplify project management and dependency resolution with Maven.
- Easy to Use: A well-structured example with detailed comments for easy understanding.
- Java 17
- Maven
- MySQL 8.0 or later
- MySQL WorkBench
- JWT Authentication
- Forgot password
- Email Sender
- Hibernate/JPA
- CRUD Endpoints
- Soft Delete
- Live Search
- Pagination
- Use of Custom Query in JPA
- Admin / User Roles
- Protected Endpoints
- Use of third party api