A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
# install dependencies
$ npm install
# init prisma
$ npx prisma migrate dev --name init
# 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
# buuild docker image
docker build -t manumura/nestjs-auth-rbac-starter:latest .
# run docker container
# (use databse config: DATABASE_URL=postgresql://<user>:<password>@host.docker.internal:5432/<db-name>)
docker run -it --rm -p 9002:9002 --name nestjs-auth-rbac-starter --env-file=.env manumura/nestjs-auth-rbac-starter
# run docker container with docker compose
# (use databse config: DATABASE_URL=postgresql://<user>:<password>@postgres:5432/<db-name>)
docker compose up
# run postgres container
docker run -it --name postgres -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -d postgres:16-alpine
# run redis container
docker run -it --name redis -p 6379:6379 -d redis:7-alpine
ncu -u -x nanoid
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.