Skip to content

NilRyan/nestjs-typeorm-graphql-starter

Repository files navigation

NestJS GraphQL Starter

Description

A NestJS GraphQL starter with JWT Auth and PostgreSQL with TypeORM

Features

  • Authentication / Authorization

Prerequisites

Make sure to have Node and Docker installed.

Installation

npm install

Running the app

# development
$ docker-compose up // Spins a Postgres instance
$ npm run start

# watch mode
$ docker-compose up // Spins a Postgres instance
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov