Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Overview

This application was built Nest and Postgresql as the database

Installation

$ yarn install

Building the app

$ yarn build

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode (you must have built the app before running in prod)
$ yarn run start:prod

Swagger preview

img.png

Running Unit Tests

# unit tests
$ yarn run test

Running Database Migrations

Create a Migrations

# this would create a migration file inside of prisma/migrations in the root directory of the project

$ yarn migrate:create

Pushing migration to the database

$ yarn migrate:deploy

Seeding the database

$ yarn prisma:seed