GastroTrack API is a RESTful backend application designed to help users monitor and manage their gastritis symptoms and food intake. Built with Spring Boot, PostgreSQL, and Redis, it provides endpoints for logging daily meals, tracking symptoms, and generating meaningful insights into gastritis triggers.
- User Management: Add and manage user accounts with secure password hashing.
- Daily Diet Logs: Track meals with notes and timestamps.
- Symptom Logs: Log symptoms related to food triggers.
- JWT Authentication: Secure access to endpoints using JSON Web Tokens.
- TestContainers Integration: Isolated integration testing environment using TestContainers.
- Custom Logging: Log requests and responses for debugging and analysis.
- AI Integration (Planned): Leverage Spring AI to provide:
- Diagnostics: AI-powered suggestions for potential gastritis triggers based on user data.
- Custom Recipes: Personalized meal recommendations to avoid trigger foods and manage symptoms better.
- Backend: Spring Boot (Java 17)
- Database: PostgreSQL
- Caching: Redis
- Authentication: Spring Security with JWT
- AI (Planned): Spring AI for diagnostics and personalized recommendations.
- Testing: JUnit 5, MockMvc, and TestContainers
- Dependency Management: Maven
This repository is made publicly accessible for demonstration purposes only.
- You are allowed to view the source code directly on GitHub.
- Sharing this repository link for non-commercial purposes is permitted.
- Commercial use, cloning, or redistribution of this project is strictly prohibited.
- Modifications to the source code or its use in other projects without prior permission are not allowed.
If you have questions or would like to discuss this project, feel free to contact me.