Skip to content

Latest commit

 

History

History
73 lines (56 loc) · 4.12 KB

README.md

File metadata and controls

73 lines (56 loc) · 4.12 KB

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

NPM Version Package License NPM Downloads Travis Linux Coverage Gitter Backers on Open Collective Sponsors on Open Collective

Description

Source code for the blog post

NestJS project demonstrating the following features:

  1. Hasura integration with NestJS via GraphQL Schema Stitching
  2. Hasura JWT Authentication and passing JWT to Hasura
  3. TypeORM to design and seed Postgres DB used by Hasura
  4. Admin role and Observer role which have different permission on different GraphQL Fields
  5. Login with different users who have different roles with different permissions

Installation

$ npm install```  
  
## Running the app  
  
```bash  
# development  
$ npm run start  
# watch mode  
$ npm run start:dev  
# production mode  
$ npm run start:prod```  
  
## Test  
  
```bash  
# unit tests  
$ npm run test  
# e2e tests  
$ npm run test:e2e  
# test coverage  
$ npm run test:cov```  

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch