Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

For running the app you can execute npm install, after these you need to create a .env based in .env example.

The second step is run pisma client, in the prisma commands you need execute the first command and third, this command run migrations.

The prod url is "https://app-knlejw27ka-uc.a.run.app" for view the API docs in swagger you can visit "https://app-knlejw27ka-uc.a.run.app/api/docs"

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Prisma

# generate prisma client
$ npx prisma generate

# rollback
$ npx prisma migrate rollback

# generate migration
$ npx prisma migrate dev --name init

# apply all migrations
$ npx prisma migrate deploy

# pull db schema

$ npx prisma db pull

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

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.

Stay in touch

License

Nest is MIT licensed.