Skip to content

tomwray13/nestjs-prisma

Repository files navigation

NestJS + Prisma Tutorial!

Check out the blog post this repo comes from for a full walkthrough of this code.

Installation

$ npm install

Create env variables

Copy the variables in the example and update them:

$ copy .env.example .env

Running the app locally

Running the NestJS app:

$ npm run start:dev

Running the Postgres database:

$ docker compose up -d

After your local Postgres server is up and running, you'll need to run database migrations.

To do this, run the following command:

$ npm run migrate

Running tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published