To run this program:
- Start a postgres server on your machine (using docker:
docker run -d -p 5432:5432 postgres:10
). - Create a database called
ormtest
:PGHOST=localhost PGUSER=postgres createdb ormtest
. - Run
yarn
to install dependencies. - Run
yarn start
.