congvosoftyn / nestjs-example

NestJS example with GraphQL, schema stitching, schema reload, dataloader, RabbitMQ, Redis, Scalable Websocket and JWT authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NestJS-Example

  • NestJS 9
  • TypeORM 0.3

Dependencies

Installation

npm ci

Running the app

npm run start:dev

Repl

NODE_ENV=development npm run start:repl

https://docs.nestjs.com/recipes/repl

Databse

Create db

psql -U postgres

create database development_nestjs_example;

Create migration

NODE_ENV=development npm run db:migration:create

Run migration

NODE_ENV=development npm run db:migration:run

Sync schema

NODE_ENV=development npm run db:schema:sync

About

NestJS example with GraphQL, schema stitching, schema reload, dataloader, RabbitMQ, Redis, Scalable Websocket and JWT authentication

License:MIT License


Languages

Language:TypeScript 92.8%Language:HTML 4.8%Language:Dockerfile 1.6%Language:JavaScript 0.7%Language:Shell 0.1%