A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
# Define the environment variables
$ cp .env.example .env
# Start the containers
$ docker-compose up -d
# Enter the api container
$ docker-compose exec -it app bash
# Stop the containers
$ docker-compose down
$ npm install
npx prisma generate
npx prisma migrate reset
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
npx prisma migrate dev --name "name of migration"
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- Make sure to run the mailhog container
- Upate the values in the .env file
MAILHOG_HOST
either localhost or mailhog depending on the environment you are running (docker or local) - To use mailhog locally, go to http://localhost:8025/
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.