A PHP/MySQL web app for calorie and fitness tracking with AI coaching features.
- 🍽️ Calorie Logging — Track daily food intake
- 🎯 Goal Tracking — Set and monitor fitness goals
- 📖 Recipe Recommendations — Get meal suggestions based on your goals
- 💬 AI Coach Chat — Get fitness advice via AI chatbot
- 👤 User Authentication — Personal accounts with secure login
- Backend: Procedural PHP
- Database: MySQL
- Frontend: Vanilla JS/CSS
- AI: OpenAI integration for chat
- Set up a MySQL database
- Copy
.env.exampleto.envand configure your database credentials - Run the PHP app with a local server (e.g., PHP's built-in server)
php -S localhost:8000Database credentials are managed via environment variables. See .env.example for required variables.