A progressive Node.js framework for building efficient and scalable server-side applications.
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.
# init schema.prisma
npx prisma init
# create migration
npx prisma migrate dev \--name \<migration name\>
# generate client to interact with database
npx prisme generate
# pull db model data from database
npx prisma db pull
# push db model data to databe
npx prisma db push
# reset data base and apply all migration
npx prisma migrate reset
# load seed
npx prisma db seed
#DOCKER
#run a container with .env file
docker run -p port:port --env-file .env name
#exec terminal in container
docker exec -it onctainerId /bin/bash