Nest framework TypeScript starter repository.
Added basic project st. with following features
- Basic project st.
- Modules
- Services
- Controllers
- Middleware
- Swagger Doc
- Validation
- Exceptions
- DTOs
- Mongo Database connection
- environment var
Node version v16.14.0
npm i -g @nestjs/cli
## Generate a new module
nest g module <module-name>
## Generate a controller
nest g controller <module-name/controllers/controller-name>
## Generate a service
nest g service <module-name/services/service-name>
## Generate a middleware
nest g middleware <module-name/middlewares/middleware-name>
$ yarn
yarn build
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
#Test using postman collection
yarn test:newman
- bump version and create tag
#command
yarn bumpVersion --ver ${flag/version-number}
#example
# yarn bumpVersion --ver patch // for bug fix
#yarn bumpVersion --ver minor // for minor changes
#yarn bumpVersion --ver major // for major changes
#yarn bumpVersion --ver 1.2.0 // for custom version
- push tag
yarn pushTag
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.