$ npm install
$ cp template.env .env
$ $EDITOR .env
# development
$ npm start
# watch mode
$ npm run start:debug
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# set up commit hooks
$ npx husky install
# create new migration
$ npm run migrate:new descriptive-name && npx prettier --write migrations/*.js
# run pending migrations locally
$ npm run migrate
Follow the ‘future process’ as described in Socious Development Workflow.
Check the Notion Engineering section for more details.