Your personal guide to healthier eating, connecting you directly to healthier alternatives for any food craving.
- Find healthier restaurant options near you
- Access healthy recipes from trusted sources
- Personalized recommendations based on your preferences
- Filter by health goals and dietary restrictions
- Clean, intuitive interface
- Python 3.8 or higher
- Node.js 14 or higher
- MongoDB
- Google Places API key
- Google Gemini API key
- Clone the repository:
git clone https://github.com/yourusername/idealmeal.git
cd idealmeal/backend- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install Python dependencies:
pip install -r requirements.txt- Set up environment variables:
Create a
.envfile in the backend directory with:
MONGODB_URI=your_mongodb_uri
GOOGLE_PLACES_API_KEY=your_google_places_api_key
GOOGLE_GEMINI_API_KEY=your_gemini_api_key
JWT_SECRET=your_jwt_secret- Navigate to the frontend directory:
cd ../frontend- Install Node.js dependencies:
npm install- Create a
.envfile in the frontend directory:
REACT_APP_API_URL=http://localhost:5000- Make sure you're in the backend directory and your virtual environment is activated
- Run the Flask server:
python app.pyThe backend server will start on http://localhost:5000
- Make sure you're in the frontend directory
- Start the React development server:
npm startThe frontend will start on http://localhost:3000
The backend API documentation is available at http://localhost:5000/api/docs when the server is running.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Places API for location services
- Google Gemini AI for intelligent recommendations
- All the amazing recipe websites that make healthy eating possible
For support, email support@idealmeal.com or open an issue in the GitHub repository.