Skip to content

wichopy/fridge-friend

Repository files navigation

Registration Page

alt text

Lists Page

alt text

Select Purchased Groceries

alt text

Select Ingredients and Find Recipes!

alt text alt text

Node Skeleton

Project Setup

  1. Create your own empty repo on GitHub
  2. Clone this repository (do not fork)
  • Suggestion: When cloning, specify a different folder name that is relevant to your project
  1. Remove the git remote: git remote rm origin
  2. Add a remote for your origin: git remote add origin <your github repo URL>
  3. Push to the new origin: git push -u origin master
  4. Verify that the skeleton code now shows up in your repo on GitHub

Getting Started

  1. Create a postgres database, username and password. To check it worked use psql -d databasename -U username -W
  2. Create the .env by using .env.example as a reference: cp .env.example .env
  3. Update the .env file with your correct local information with information from step 0.
  4. Install dependencies: npm i
  5. You will need to run npm install -g nodemon and npm install -g node-sass
  6. Fix to binaries for sass: npm rebuild node-sass
  7. Run migrations: npm run knex migrate:latest
  • Check the migrations folder to see what gets created in the DB
  1. Run the seed: npm run knex seed:run
  • Check the seeds file to see what gets seeded in the DB
  1. Run the server: npm run local
  2. Visit http://localhost:8080/

Dependencies

  • Node 5.10.x or above
  • NPM 3.8.x or above

About

A smart grocery lists that helps you keep track of your ingredients and recommends recipes for you to use up food before it goes to waste!.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors