Try the app Recipe Tips I did small updates :) Enjoy!
The website Recipe Tips is designed for people who would like to know what they can cook
from what "in the fridge left" / any food left, can see milkshakes, yogurts. Users can also see random search and allows to search food by name,
or make complex search for recipes using natural language queries,
such as “gluten free brownies without sugar” or “low fat vegan cupcakes” or
write detailed information such as vegan, vegetarian, pescetarian, gluten free, grain free,
dairy free, high protein, low sodium, low carb etc.
That can help to create special diets/dietary requirements for users. Good for mothers and fathers who would like to create healthy recipe lists for their kids. Can print recipes.
And after creating an account able to make a list of favorite recipes for every day or for every week etc. Even warm up with some food jokes and repeat exercises from random pictures like stay in touch with sport.
For this CP database that takes food-related information from the Spooncular database
DB schema:
- user table
- recipe table
- favorite recipe table
To get the code on your local machine, create a PostgreSQL database, and set up a virtual environment in Python, and get an API key from Data API.
> git clone https://github.com/ElenkaSan/Capstone_Project_1.git
> python3 -m venv venv
> pip3 install -r requirements.txt
> source venv/bin/activateSign up here to use the Data API. Save your API key in a file called dotenv using this format:
API_KEY="YOURKEYHERE"Create database 'recipeTips' in the Terminal:
$ createdb recipeTips$ ipython
In [1]: run seed.py
In [2]: db.create_all()
In [1]: quit()Run the app:
$ flask runYou can now navigate to http://127.0.0.1:5000/ to start exploring Recipe Tips.
- The recipe feature with favorite food:
- Automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists
- Compute an entire meal plan
- Expanding on the recipe search filter (e.g. dietary restrictions, calories, etc.)
- More functionality exercise info or tips with images and video
- Create app on the phone
Stretch goals:
- Share favorite recipes lists with other users on the site. Good for family members, that they can add this list to their account.
Frontend:
- HTML templates using Jinja and WTForms for forms
- Design and interaction using JavaScript, Bootstrap, Font Awesome and raw CSS
Backend:
- Routes and Models using Python3 and Flask
- SQLAlchemy as a database ORM
- Database using PostgreSQL
- AJAX requests using Axios -RESTful APIs
Deployment:
- Deployed on Render Server
Feel free to improve or contribute. Pull requests are always welcome!
Author Elena Nurullina



