Skip to content

An app where you never have to wonder what's for dinner ever again!

Notifications You must be signed in to change notification settings

Alex-M-Howard/Capstone-Thyme2Eat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capstone 1 - Thyme2Eat

Skip right to the project --> Thyme2Eat


Tech Used

Database


Front End (HTML, CSS, JS)


Back End (Python)


Installing Project

  1. Clone Repository
  2. Create Virtual Environment
  3. Install Requirements
  4. Create/Seed Database
  5. Run Flask

--- Clone Repository ---

Clone repository to your workspace:

git clone https://github.com/Alex-M-Howard/Capstone-Thyme2Eat.git cd Capstone-Thyme2Eat


--- Create Virtual Environment ---

Create virtual environment:

python -m venv venv


--- Install Requirements ---

Activate you virtual environment and then use pip to install required pacakges:

pip install -r requirements.txt


--- Seed Database | PostgreSQL ---

Seed database:

psql < seed.SQL


--- Run Flask ---

Next, start the Flask server:

flask ---app Thyme2Eat run

Now in your broswer, navigate to your local host to see the app!


Routes

Sign Up

If it is your first time here, click on Sign Up and create an account, otherwise login! You can also view randomly generated meals without being logged in, just use the navbar.


Get Random Meals

Using the filters of your choice, get random meals that you can view. Click on their picture or title to see the full recipe. If you're logged in, you can click the heart icon to save the recipe to "Your Recipes" and view them anytime you want.


My Recipes

When logged in, you will be directed to your saved meals which can be filtered by: Breakfast|Brunch, Snacks, Sides, Lunch|Dinner, and Uncategorized. To remove a recipe, click on the heart icon.


Search Recipes

If you have an idea what you want to find, click on the magnifying glass on the navbar and search for a meal!


Viewing Recipe

You can see the servings, time to cook, ingredients list, instructions, and also the nutrition facts. If you'd like to print this to keep in your own cookbook, click the printer icon to be directed to a printable page of your chosen recipe! If this recipe is not quite cutting it, there might be a similar recipe that has just the tweak it needs at the bottom of the page!




Lessons Learned

API Selection

Using this API and feeling the full effects of being in the free tier is something I will not underestimate in future projects. Having a limited quota was very limiting.


Project Scope

It is easy to envision what you want in a project, but I found out quickly that having a smaller goal that you expand later is a better plan. With bugs and other learning opportunities, going from point A to B is more work than it may seem.


TODO List

Having a todo list built into the code helped move the latter half of the project along more quickly. This will be key next time as it will keep me on task, rather than reaching in a barrel and pulling out a random task each time I sit down to it.

About

An app where you never have to wonder what's for dinner ever again!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published