Add a .env
file in the root of the project. You will need to add config for connecting to PostgresSQL, there is information on how to configure the client library here. If you are running PostgreSQL locally with the default settings you will probably only need to set PGUSER
and PGPASSWORD
.
Just run yarn
in the root of the project.
Run yarn db:init
to create the database, create the tables and insert some initial data.
yarn start
For a list of all scripts see the scripts
field in the package.json.