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: about 1 month ago
JSON representation
Boilerplate for pnpm+nestjs+prisma+mongodb+JWT
- Host: GitHub
- URL: https://github.com/glistenstar/boilerplate_pnpm-nestjs-prisma-mongodb-jwt
- Owner: GlistenSTAR
- License: apache-2.0
- Created: 2024-03-11T12:18:18.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-11T15:27:31.000Z (about 1 year ago)
- Last Synced: 2025-02-15T17:47:06.717Z (3 months ago)
- Topics: jwt, monogdb, nestjs, prisma
- Language: TypeScript
- Homepage:
- Size: 236 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[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.
## 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).