Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- 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 (10 months ago)
- Default Branch: master
- Last Pushed: 2024-03-18T11:13:54.000Z (10 months ago)
- Last Synced: 2024-03-18T12:31:43.944Z (10 months ago)
- Topics: jwt, monogdb, nestjs, prisma
- Language: TypeScript
- Homepage:
- Size: 159 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
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).