npm run clean
npm run build
npm run start
npm run local
npm run local:watch
npm test
npx eslint <path-to-your-file>.<js/ts>
npm run lint
npx prettier package.json --write
npm run pretty
npm run format-and-lint
main
- This is production branch. Never touch it or there will be terrible consequences.:)
- We will only merge dev rom into main branch
dev
- Always take feature branch from dev branch and merge it in this branch.
- This branch will also be deployed for testing purposes.
####-<feature-info>
- '####' = Ticket/Card number. Properly describe the feature that you are working on.
- Once approved. This branch will be merged into dev branch.
git commit -m '####-<meaningful-commit>
- '####' = Ticket/Card number. Properly describe the feature on which you worked through meaningful commit message.
- Writing bad commit comments will have dangerous consequences. 😈
-
docker build -t <your-image-name> .
e.x.docker build -t kol-tool .
-
docker run -d -p 3000:3000 your-image-name
e.x.docker run -d -p 3000:3000 kol-tool
- Swagger documentation can be viewed at /docs. e.x. http://localhost:3000/docs
- We use postman for documenting and testing our APIs.
logger.error('This is an error message');
logger.warn('This is a warning message');
logger.info('This is an informational message');
logger.http('This is an HTTP log message');
logger.verbose('This is a verbose log message');
logger.debug('This is a debug log message');
logger.silly('This is a silly log message');