Skip to content

G-Zhen/VenusHacks2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

137 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VenusHacks2023

Meals4Me

Daily meal planner for breakfast, lunch, dinner, snacks. Navigating college life is difficult, to say the least. What's even harder is navigating it with an empty stomach. That's why we created Meals4Me. Meals4Me helps students, or anyone, with choosing a meal for the day whether you're craving breakfast, lunch, dinner, or a snack. We hope this will encourages users to stay healthy and well-fed.

Members

Grace Zhen, Jamie Phan, Sabrina Tang, Lilya Chakhoyan

Front-end

Web site with 3 pages: a main page "Meals4Me" that links to other pages in our site, an "The Team" page with site mission and member LinkedIns, and the main functionality of our site that generates recipes in "Create Meals4Me".
This site's front end was developed with HTML, CSS, and JavaScript. JavaScript implemented inside HTML files.

Back-end

This site uses the spoonacular recipe and food API: https://spoonacular.com/food-api and Flask to provide routing capabilities to map URLs to implement the API

Run this site locally

If running this code, you must run Flask first (aka app.py) in order to run the front-end side; especially for "Create Meals4Me" page which uses the API. Requirements: Python 3
You must always run app.py for the buttons in our Create Meals4Me page. Run app.py (for Mac OS):
#download virtual environment
    python -m venv .venv
#activate the virtual environment. This is the Mac command
    source ./venv/bin/activate
# download everything you need for the flask app
    pip install -r BackEnd/requirements.txt
#run app
    python app.py

After running app.py, run homepage.html file by opening the actual file.

Git basics for members

Setup

1. Download the repo: **git clone [url: grab the url from the green "<> Code" button]**
2. Move to repo, go to terminal and type: **cd VenusHacks2023**

Upload Changes you made for everyone to see

1. Check if you have anything to upload: git status
2. If you have changes (from making a new file or adding new code): git add .
3. Tell us what changes you made with a message: git commit -m "Some Message"
4. Upload your code to GitHub: git push

Update your local code after someone else has made changes.

Do this often and do it before you push: **git pull**

Releases

No releases published

Packages

 
 
 

Contributors