Source Code
GutCheck Digestive Health Tracker
Overview
GutCheck empowers individuals to understand and optimize their digestive health through personalized insights and data-driven recommendations. Unlike generic health apps, GutCheck focuses specifically on digestive health with scientifically-backed insights that help users identify food sensitivities and improve gut wellness.
Features
- User authentication system with secure registration and login
- Personalized meal tracking with digestive impact assessment
- Food sensitivity identification through data analysis
- Gut health metrics and progress tracking
- Scientifically-backed dietary recommendations
Installation
clawhub install gutcheck
Setup
- After installation, navigate to the gutcheck directory
- Create a .env file with required environment variables:
MONGODB_URI=mongodb://localhost:27017/gutcheck JWT_SECRET=your-super-secret-jwt-key-here PORT=5000 NODE_ENV=development - Run the application:
cd gutcheck npm run dev
Usage
- Access the application at http://localhost:3000
- Register a new account or log in to an existing one
- Track your meals and digestive responses
- View personalized insights and recommendations
Target Users
- Health-conscious individuals experiencing digestive issues
- People seeking to identify food sensitivities
- Those interested in optimizing their gut health
- Users wanting data-driven dietary recommendations
API Endpoints
POST /api/auth/register- Register a new userPOST /api/auth/login- Login and retrieve JWT tokenGET /api/auth/me- Get current user data (requires auth)POST /api/diet/add-meal- Add a new meal entryGET /api/diet/my-meals- Get all meals for current userPUT/DELETE /api/diet/my-meals/:id- Update/delete meal entries