This is the API for our Disputes Tools app.
You need to create databases for development and test environment, you can do that by running these commands.
createdb disputes_development
createdb disputes_test
Now you run migrations with
yarn db:migrate
Run cp .env.sample .env
and replace the values with your specific configuration.
yarn start
will run the project in development mode.
yarn test
will run tests. We are using Jest for tests
We are using esm instead of babel to run the node server. At the moment jest doesn't support esm and we have to use babel.