MealHub is a web app designed to help with vegetarian meal planning. Users search for recipes based on food preferences. A nutrient tracker allows users to plan meals according to recommended daily allowances of major macronutrients. Integration with Google Calendar allows users to send recipes to their personal calendar.
Create an account or sign in to create and access meal plans.
Search for recipes based on cuisine preferences, foods to avoid, and dietary restrictions.
Select recipes for a meal plan based on prep time and recommended daily allowances of major macronutrients. View weekly totals of macronutrients based on selected recipes.
Save meal plans and add recipes to Google calendar for easy access.
Backend: Python, Flask, PostgreSQL, SQLAlchemy
APIs: Spoonacular, Google Calendar
Clone this repository.
$ git clone https://github.com/njgupta23/MealHub.git
Create and activate a virtual environment inside your MealHub directory.
$ virtualenv env $ source env/bin/activate
Install the dependencies.
$ pip install -r requirements.txt
Store them in a secrets.sh file, similar to this:
export SPOONACULAR_KEY='abc' export GOOGLE_CLIENT_ID='abc' export GOOGLE_CLIENT_SECRET='abc'
Create your database.
$ createdb mealhub $ python model.py
Run the server.
$ python server.py
For Version 2.0
- Implement in React
- Make changes to current and past meal plans
- Select meal plan dates that have not already been used
About the Developer
MealHub was created by Neha Gupta, a doctor turned developer in the Bay Area, CA. Learn more about the developer on LinkedIn.