In the backend/package.json, you will see some scripts to help manage postgres
- create a user
psql -c "CREATE USER <user> WITH PASSWORD 'password' CREATEDB"
- create a database
psql -c "CREATE DATABASE <databasename>"
- fill in the information in the .env based on the .env example using the same info you used in steps 1 and 2
Make sure to install postgres, psql, and postbird.
- you will want to connect psql to your computers user account so that it can connect to postbird
- You will want to use postbird to view the database (although you can also use psql cli to view it in terminal)
Postbird install: https://github.com/Paxa/postbird Postgres install: https://www.postgresql.org/download/