Skip to content

britneyart80/Prepper

Repository files navigation

Welcome to “Prepper”!

ABOUT PREPPER

Preppery is an app that includes all your meal prep needs! Create and save your favorite recipes, make different meal plans to vary your diet, and add saved meals to your plans at the click of a button! But wait, there's more! Ever tired of calculating all the things you need to buy? Fret no more because you can add ingredients from planned meals to your shopping list and Prepper will compile everything you need to buy for you!

HOW PREPPER WORKS

Once you create an account, you have access to meal prepping, recipe making and easy shopping list-ing! Create your favorite recipes in the recipes tab and add the necessary ingredients. From there, create a meal plan and add those saved recipes to which ever day of the week you want! For each planned recipe, click to reveal the ingredients, and add what you don't have at home to your shopping cart. Once you tick those things off your shopping list they are removed for you.

Setup Steps

  1. Fork and clone this repository
  2. Run npm install to install all dependencies
  3. Use npm start to run the live server

Links:

Deployed Site

Back End Github Repo

Back End Deployed Site

TECHNOLOGIES USED:

  • HTML
  • CSS
  • JAVASCRIPT
  • REACT
  • AXIOS
  • HEROKU
  • SCSS
  • EXPRESS
  • MONGOOSE
  • MONGO DB

USER STORIES

  • As a user I want to be able to create a new weekly plan
  • As a user I want to be able to add recipes to each day of the week
  • As a user I want to be able to add a recipe
  • As a user I want to be able to add ingredients to a recipe
  • As a user I want to be able to delete a weekly plan
  • As a user I want to be able to delete a recipe
  • As a user I want to be able to delete an ingredient from a recipe
  • As a user I want to be able to create an account, sign in, sign out and change my password
  • As a user I want to be able to see all of my weekly plan
  • As a user I want to be able to see the recipes i have planned for each week

SCREENSHOT OF APP

App App

WIREFRAMES:

Wireframe Wireframe Wireframe ERD

Catalog of Routes:

HTTP Verb URI Pattern
POST /sign-up
POST /sign-in
PATCH /change-password
DELETE /sign-out
GET /weeks
GET /weeks/:id
GET /weeks/:id/:index
GET /recipes
GET /recipes/:id
PATCH /recipes/:id/edit
POST /create-recipe
GET /cart

PLANNING, PROCESS & PROBLEM SOLVING:

I planned out the project first by coming up with an idea I was excited about. From there, wireframes and user stories took place which made it much easier to implement the next step, backend. Once back-end was set up, I moved to implementing front-end functionality. The final step was styling.

Along the way, there were both front-end and back-end bugs and I utilized the terminal/browser console.logs() a lot in the process of debugging. This helped me easily trace back to the source of the problem. To reduce the amount of bug encounters, I always planned out in my head how I wanted to implement the structure of classes and functions before I began coding.

For future iterations, I would love to add functionality so that you can delete a certain number of ingredients off the shopping cart instead of having to delete all of them once ticked. There is also one bug where, on recipe edit, it does not refresh the page after successful submission.

About

A meal prepping app built on React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published