https://github.com/wichopy/fridge-friend
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!.
https://github.com/wichopy/fridge-friend
Last synced: 11 months ago
JSON representation
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!.
- Host: GitHub
- URL: https://github.com/wichopy/fridge-friend
- Owner: wichopy
- Created: 2017-03-01T16:28:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T04:52:36.000Z (over 9 years ago)
- Last Synced: 2025-03-15T11:22:21.324Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 4.03 MB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Registration Page

### Lists Page

### Select Purchased Groceries

### Select Ingredients and Find Recipes!


# 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
3. Remove the git remote: `git remote rm origin`
4. Add a remote for your origin: `git remote add origin `
5. Push to the new origin: `git push -u origin master`
6. Verify that the skeleton code now shows up in your repo on GitHub
## Getting Started
0. Create a postgres database, username and password. To check it worked use `psql -d databasename -U username -W`
1. Create the `.env` by using `.env.example` as a reference: `cp .env.example .env`
2. Update the .env file with your correct local information with information from step 0.
3. Install dependencies: `npm i`
3. You will need to run `npm install -g nodemon` and `npm install -g node-sass`
4. Fix to binaries for sass: `npm rebuild node-sass`
5. Run migrations: `npm run knex migrate:latest`
- Check the migrations folder to see what gets created in the DB
6. Run the seed: `npm run knex seed:run`
- Check the seeds file to see what gets seeded in the DB
7. Run the server: `npm run local`
8. Visit `http://localhost:8080/`
## Dependencies
- Node 5.10.x or above
- NPM 3.8.x or above