A progressive Node.js framework for building efficient and scalable server-side applications.
This is a simple api built using nestjs, prisma, postgres and docker using the Nest framework TypeScript starter repository.
$ npm install
docker-compose up -d
add this key value pair to your .env file
DATABASE_URL="postgresql://postgres:password@localhost:5432/nestapi?schema=public"
npx prisma migrate dev
npm run prisma:seed
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
http://localhost:3000/api
# 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.