A midterm project for Lighthouse Labs, built using Node, SQL, Javascript, and jQuery, utilizing the Google Maps API to allow users to create, edit, and favorite their favorite potato restaurants.
Spud.Spotters.01.mp4
- Create potato database on Postgres:
CREATE DATABASE potato
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- username:
YOU_USERNAME
- password:
YOUR_PASSWORD
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Reset database:
npm run db:reset
- Check the db folder to see what gets created and seeded in the SDB
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
- Node 10.x or above
- NPM 5.x or above
- PG 6.x