- Create .env file
- set POSTGRES_DB to database name
docker-compose up
knex migrate:latest
node index.js
- POSTGRES_DB is now the name of the db to use.
- Connect to the DB using postbird: https://github.com/paxa/postbird
- knexfile and dotenv is used to declare credentials