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
-
seed some data in users table ✅
-
make a query to the database and check what we get back✅
-
finish creating the schema (other tables) ✅
-
seed the rest of the database ✅
-
Make queries for the whole database ✅
-
create a folder to get all events
-
write the handlers in route.js