A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Source code for the blog post
NestJS project demonstrating the following features:
- Hasura integration with NestJS via GraphQL Schema Stitching
- Hasura JWT Authentication and passing JWT to Hasura
- TypeORM to design and seed Postgres DB used by Hasura
- Admin role and Observer role which have different permission on different GraphQL Fields
- Login with different users who have different roles with different permissions
$ 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```
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.
- Author - Anton Sukhovatkin
- Blog