This is my accademic "PFA" project demonstrates the implementation of security using Spring Boot 3.0 and JSON Web Tokens (JWT), Spring Data JPA, REST APIs, . It includes the following features:
- User registration and login with JWT authentication
- Password encryption using BCrypt
- Role-based authorization with Spring Security
- Customized access denied handling
- Logout mechanism
- Refresh token ##Profile and Services Management APIs
- create account and costumize your profile
- Post your own services that you can offer to clients
- include photos of services
- chat functionality to contact the tasker
- File-based storage with database reference to store images
- Spring Boot 3.0
- Spring Security
- Spring Data JPA
- JSON Web Tokens (JWT)
- BCrypt
- Maven
To get started with this project, you will need to have the following installed on your local machine:
- JDK 17+
- Maven 3+
To build and run the project, follow these steps:
- Navigate to the project directory: cd spring-boot-security-jwt
- Add database "Bricool" to postgres
- Build the project: mvn clean install
- Run the project: mvn spring-boot:run
-> The application will be available at http://localhost:8080.