Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/glistenstar/boilerplate_pnpm-nestjs-prisma-mongodb-jwt

Boilerplate for pnpm+nestjs+prisma+mongodb+JWT
https://github.com/glistenstar/boilerplate_pnpm-nestjs-prisma-mongodb-jwt

jwt monogdb nestjs prisma

Last synced: 2 months ago
JSON representation

Boilerplate for pnpm+nestjs+prisma+mongodb+JWT

Awesome Lists containing this project

README

        


Nest Logo

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest

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](https://github.com/nestjs/nest) framework TypeScript starter repository.

## Installation

```bash
$ 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
```bash
$ prisma generate
```

or
```bash
$ prisma db push
```

## Running the app

```bash
# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod
```

## Test

```bash
# 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](https://docs.nestjs.com/support).

## Stay in touch

- Author - [GlistenSTAR](https://glistenstar.vercel.app/)

## License

Nest is [Apache License 2.0](LICENSE).