For better development conditions, you need to install docker and docker-compose
Also, we advise you to install all devdependencies locally (linters, etc):
npm install
Don't forget to create .env (from .env.example) and src/.chatlist.json (from src/.chalist.example.json).
When you made all steps above, run
docker-compose pull
docker-compose up -d postgres
docker-compose up --build appYour application will automatically restart with nodemon after code changes (in src directory).
Create commits through commitizen:
npm install --global commitizen
# commit
git czUse next commands to manipulate db schema:
# To run all migrations
npm run migrate
# To rollback latest migration
npm run rollback