Skip to content

GlistenSTAR/Boilerplate_pnpm-nestjs-prisma-mongodb-JWT

Repository files navigation

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.

Installation

$ pnpm install

Environment Variables

To run this project, you will need to add the following environment variables to your .env file.

  • NODE_ENV : is a system environment variable that Node exposes into running scripts
  • DATABASE_URL : is an environment variable that Prisma uses to connect to your database.
  • JWT_SECRET : A random string used to sign JWTs

Generate the Prisma Schema

$ prisma generate

or

$ prisma db push

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm 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 Apache License 2.0.

About

Boilerplate for pnpm+nestjs+prisma+mongodb+JWT

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published