starter/template repo using Nest framework for rapid api development
- Authentication with local, jwt and google strategies.
- User management
$ nvm use
$ npm install
$ cp .env.example .env
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
API documentation is available at http://localhost:3000/api-docs
<type>(<scope?>): <subject>
Must be one of the following:
- build: Changes that affect the build system or external dependencies (example scopes: node, npm)
- gh-actions: Changes to .github files and scripts (example scopes: ci, dependabot etc.)
- docs: Documentation only changes
- feat: A new feature
- fix: A bug fix
- perf: A code change that improves performance
- refactor: A code change that neither fixes a bug nor adds a feature
- test: Adding missing tests or correcting existing tests
- common: for changes made on src/common directory
- config: for changes made on src/config directory
- resources: for changes made on src/resources directory
- lib: for changes made on root/libs directory