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 inpackage.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.