Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.1 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.1 KB

Back-end setup

It would be best to open a new terminal tab dedicated to running and developing your back-end.

  • cd back-end
  • touch .env
  • rename document in package.json

.env

PORT=3333
PG_HOST=localhost
PG_PORT=5432
PG_DATABASE=
  • npm install - install npm packages listed in package.json.
  • npm run db:init - initialize a new database and create tables.
  • npm run db:seed - seed the table(s) with some data.
  • nodemon - confirm that this is running on port 3333.

Back-end Deployment

  1. Render.com Deployment Instructions
  2. Render.com Deployment Video Part 1, Express
  3. Render.com Deployment Video Part 2, PostgreSQL
  4. Snack-A-Log Video-Demo
  5. Front-end Instructions