Skip to content

A simple NestJS API using Prisma ORM and PostgreSQL

Notifications You must be signed in to change notification settings

lukaabra/nestjs-api

Repository files navigation

NestJS API

Features

  • REST Express API with JWT Auth
  • Prisma ORM and PostgreSQL database
  • Testing pipeline with Jest and Docker

Running the app

Install the packages:

$ npm install

Create a .env file with the same structure as .env.test and start the server:

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

Starts up a fresh test database container and runs the migrations every time before initializing tests.

$ npm run test

About

A simple NestJS API using Prisma ORM and PostgreSQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published