This site's front end was developed with HTML, CSS, and JavaScript. JavaScript implemented inside HTML files. 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
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.
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** 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
Do this often and do it before you push: **git pull**