A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
- Install Node.JS LTS version
- Install PostgreSQL
- Clone this repository and enter on the respective folder
- Install dependencies running:
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# Run migrations
$ npm run db:migrate
# Revert migrations
$ npm run db:rollback
$ npx typeorm migration:create -n NameMigration -d src/migrations
$ npx typeorm-model-generator -h localhost -d tempdb -u sa -x !Passw0rd -e postgres -o ./typegen -p 3306
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# access documentation url
http://localhost:3000/api/
├── /src
| ├── /controllers
| ├── /database
| | ├── /migrations
| |
| ├── /helpers
| ├── /middleware
| ├── /models
| ├── /services
| ├── /validators
| ├── /interfaces
|
├── /test
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.