- Spring Data JPA
- Validation
- Lombok
- Spring Web
- PostgreSQL Driver
- Spring Boot Dev Tools
- Spring Security
This API provides endpoints for user authentication and authorization, using JWT tokens. The available endpoints are:
- /auth/login - Method POST - authenticates the user and generates a JWT token.
- /auth/register - Method POST - register new user.
- /auth/buscar - Method GET - lists all users.
- /product - POST and GET.
To test the API, it is recommended to use Postman or Insomnia. Here are some examples of requests:
/auth/login