Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 759 Bytes

backend_plan.md

File metadata and controls

29 lines (21 loc) · 759 Bytes

We have created the EDR diagram ✅ We created a database in render ✅ create .env file ✅ DB_CONNECTION_STRING= PORT=5432 create db file ✅ Need to install pg package (npm install pg)✅ Need to install .env file (npm install dotenv) , used import 'dotenv/config'; ✅ Now we need to connect the database with our code in index.js ✅ tested ✅ create tables rest-database.js ✅ create seed data rest-database.js
testing ✅

25/09

  1. seed some data in users table ✅

  2. make a query to the database and check what we get back✅

  3. finish creating the schema (other tables) ✅

  4. seed the rest of the database ✅

  5. Make queries for the whole database ✅

  6. create a folder to get all events

  7. write the handlers in route.js