Meet Fridgie: a digital replica of your fridge that keeps track of expiry dates 👀, creates shopping lists 📝, and generate recipes ideas 💡.
No more heartbreaks from discovering mould on the veggies you were about to use for dinner. With a quick glance at Fridgie, you can see the freshness status of all your ingredients, reminding you to use them up before they spoil. Just snap a quick photo of your food to add it to your app...Fridgie's smart enough to identify the food item for you.
No ideas for what to cook with the ingredients you have at home? No worries. With the click of a button, Fridgie will generate a variety of recipes customized to you based on the items in your fridge.
Once an item in your fridge is used up, add it to your shopping list with a click of a button. Create multiple customized shopping lists for your different needs, mark items as purchased as you go, and with a quick “click”, place items from your shopping list back into your fridge.
Note: Both server and client code should be running in seperate terminals
-
Clone this repo with
git clone [email protected]:RyanJohnson1612/fridge-app.git
-
Change directory to server code
-
Install Dependencies with
npm install
-
Copy .env.example and rename to .env and fill in environment variables
-
Create a psql database with name and credentials that you filled in for the environment variables
-
Run the initial migrations and seeds with
npm run db:reset
-
Run
npm start
ornpm run local
to run the server -
If you go to your localhost:8080/users (or whatever port you added in your .env) and see user test data then the server is good to go!
-
From the main directory, change directory to client code
-
Install dependencies with
npm install
-
Sign up for a Edamam and Spoonacular account to utilize their api
-
Copy .env.example and rename to .env and fill in environment variables, which include the api keys from Edamam and Spoonacular
-
Once that finishes run
npm start
-
Your browser should automatically open a new tab or window with the app running
-
Register for a new account - you will be directed to your empty fridge
-
Add a new fridge item or create a new grocery list to keep track of what you need to purchase. Add an item from your grocery list to your fridge by clicking the fridge icon.
-
Start filling in your fridge!
-
Enjoy!