Skip to content

GastroTrack is a RESTful API built with **Spring Boot** to help individuals with gastritis track their food intake and identify ingredients or dishes that trigger symptoms. It provides insights to help users manage their health effectively.

License

Notifications You must be signed in to change notification settings

DarioCM/gastrotrack-api

Repository files navigation

GastroTrack API

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.


Features

  • 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.

Technologies Used

  • 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

Disclaimer

This repository is made publicly accessible for demonstration purposes only.

Permissions:

  • You are allowed to view the source code directly on GitHub.
  • Sharing this repository link for non-commercial purposes is permitted.

Restrictions:

  • 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.

About

GastroTrack is a RESTful API built with **Spring Boot** to help individuals with gastritis track their food intake and identify ingredients or dishes that trigger symptoms. It provides insights to help users manage their health effectively.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages