Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hendraaagil/nest-prisma

Starter template with Nest and Prisma ORM.
https://github.com/hendraaagil/nest-prisma

nestjs prisma template

Last synced: about 1 month ago
JSON representation

Starter template with Nest and Prisma ORM.

Awesome Lists containing this project

README

        

# Nest Prisma Starter Template

This template is using [Nest](https://nestjs.com/) and [Prisma](https://prisma.io/) ORM.

## Installation

```bash
yarn
# or yarn install
```

## Prisma command

```bash
# run migration in development
yarn prisma:migrate:dev

# run migration in production
yarn prisma:migrate:prod

# run seeder
yarn prisma:seed

# run prisma studio
yarn prisma:studio
```

## Running the app

```bash
# development
yarn start

# watch mode
yarn start:dev

# production mode
yarn start:prod
```

## Test

```bash
# unit tests
yarn test

# e2e tests
yarn test:e2e

# test coverage
yarn test:cov
```

## License

This project is under [MIT License](LICENSE)