This project is an email sending API
- Java 17
- Spring Boot 3
- PostgreSQL 15
You can send requests to the API using the available routes. The routes are:
- POST
/api/auth/register
- POST
/api/auth/login
- GET
/api/users/me
- GET
/api/users
- Only ADMIN - POST
/api/emails/send
Some endpoints require authentication via a JWT access token.
The API documentation is available on Swagger. To access it, follow these steps:
- Run project
- Open a web browser and navigate to
http://localhost:8080/swagger-ui/index.html
- The API documentation should be displayed in Swagger
- Clone this repository
- create a database named
db_api_email
- Configure your database in the application-dev.yml or application-prod.yml file
- Configure your e-mail and password (your email must be configured to be used on apps/systems) in the application-dev.yml or application-prod.yml file
- Run project
Please feel free to send pull requests and report issues.