A progressive Node.js framework for building efficient and scalable server-side applications.
.env.development
refers to development env and .env.production
refers to production env.
# database
DATABASE_TYPE=mysql
DATABASE_NAME=xxx
DATABASE_HOST=localhost
DATABASE_PORT=3306
DATABASE_USERNAME=root
DATABASE_PASSWORD=xxx
# secret_key to generate jwt
SECRET_KEY=xxxxxx
# redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
# upload path
UPLOAD_PATH=xxx/xxx/
# mail config
MAIL_HOST=xx.xx.com
MAIL_PORT=465
[email protected]
MAIL_PASS=xxx
# private yard (if you need)
PRIVATE_YARD=xxxxxx
Nest framework TypeScript starter repository.
$ npm install
# 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
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.