Install node.js (v10.16.0). If using nvm the correct version can be automatically installed by running: nvm install
Install node modules: npm install
Install postgres: brew install postgres # macOS
npm run build
npm run watch-ts # watch mode
npm run clean # remove dist directory
npm run db:migrate # migrate database
npm run db:migration:generate <migration_name> # generate migration
# Development
npm run db:postgres:create # Create database
npm run db:postgres:drop # Drop database
npm run db:postgres:reset # Reset database
# Test
npm run db:postgres:create:test # Create test database
npm start
npm run watch # watch mode
npm run lint
npm run fix # fix errors
npm run watch-eslint # watch mode
npm test
npm run watch-test # watch mode