https://github.com/utsavdotpro/starter-nestjs-prisma-ts
A starter template for NestJS with Prisma in TypeScript
https://github.com/utsavdotpro/starter-nestjs-prisma-ts
nestjs prisma starter-template typescript
Last synced: about 2 months ago
JSON representation
A starter template for NestJS with Prisma in TypeScript
- Host: GitHub
- URL: https://github.com/utsavdotpro/starter-nestjs-prisma-ts
- Owner: utsavdotpro
- Created: 2022-01-25T19:09:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-02T06:35:37.000Z (over 1 year ago)
- Last Synced: 2025-02-03T10:12:06.053Z (4 months ago)
- Topics: nestjs, prisma, starter-template, typescript
- Language: TypeScript
- Homepage:
- Size: 251 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[
](https://githubbox.com/utsavdotpro/starter-nestjs-prisma-ts)
# NestJS with Prisma in TypeScript
A starter template for NestJS with Prisma in TypeScript with an opinionated modular project structure.### Technologies
[](https://nestjs.com/)
[](https://www.prisma.io/)
[](https://typescriptlang.org)### Highlights
- `env` is configured
- [PrismaService](./src/prisma.service.ts) is created
- [Jest](https://jestjs.io/) is configured---
## How to Reuse Locally?
Use [degit](https://github.com/Rich-Harris/degit) to download the repository locally.
> `degit` downloads a copy of git repository with downloading its entire git history.
Install degit globally.
````bash
npm install -g degit
````Download the latest version
````bash
degit utsavdotpro/starter-nestjs-prisma-ts
````---
## Getting Started
Install dependencies```bash
$ yarn install
```Running the app
```bash
# development
$ yarn start# watch mode
$ yarn start:dev# production mode
$ yarn start:prod
```Testing the app
```bash
# unit tests
$ npm run test# e2e tests
$ npm run test:e2e# test coverage
$ npm run test:cov
```Prisma
```bash
# create migration
db:migrate# apply pending migrations
db:deploy
```---
A progressive Node.js framework for building efficient and scalable server-side applications.