Acess the PT-BR Version
This project was built in college as part of an integration project between various subjects (TCC). The Healthy Meal Manager API is a robust and scalable API designed to manage healthy meal routines and notifications for users. Built using Spring Boot with Maven, it follows the MVC and Hexagon Architecture principles. The API leverages Hibernate JPA for database interactions with a PostgreSQL database, running locally via Docker and Docker Compose. For production, the API is deployed using Azure App Services, and images are stored using Azure Blob Storage. Authentication is handled using JWT tokens, which expire in one hour. The API endpoints are documented with Swagger. The API is used for a mobile Flutter application. You can find the mobile app repository here.
Access the Layout prototype built on Figma clicking here
- Create a Meal
- Create a Routine
- Java 17
- Spring Boot
- Maven
- Hibernate JPA
- PostgreSQL
- Docker & Docker Compose
- Azure App Services
- Azure Blob Storage
- JWT Authentication
- Swagger
- Flutter (Mobile Application)
-
Clone the repository:
git clone https://github.com/unlockway/unlockway_api_v2.git cd ./unlockway_api_v2
-
Install Docker and Docker Compose:
-
Set up PostgreSQL database:
docker-compose up --build -d # or `docker compose up --build -d (whitout the -)`
-
Configure application properties:
- Update
application.properties
with your local setup.
- Update
-
Build the project:
mvn clean install
-
Run the application:
mvn spring-boot:run
-
Access Swagger documentation:
- Navigate to
http://localhost:8080/swagger-ui/index.html
to view and test the API endpoints.
- Navigate to
You can use an IDE to execute the code as well. Here are some popular options:
-
Fork the repository
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git commit -m "Add your message here"
-
Push to the branch:
git push origin feature/your-feature-name
-
Create a Pull Request
![]() |
![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|
Victor H. Silva | Bruno Pequeno | Daniel Vieira | Felipe Thaylan | João Zavisas |