A starter with:
- NestJS v7
- @nestjs/config
- @nestjs/graphql
- Username/Password Authentication (login/register)
- graphql-code-generator
- nxplus
- prisma
- Generate new project using this repo as template or
git clone https://github.com/beeman/nx-nest-graphql
- cd nx-nest-graphql
- yarn
Project | Type | Path | Description |
---|---|---|---|
api | app | apps/api | Nest API |
auth | lib | libs/auth | Authentication |
core | lib | libs/core | Core utils, API config |
data | lib | libs/data | Data interface (Prisma) |
sdk | lib | libs/sdk | SDK generated by GraphQL Codegen |
Run yarn setup
to change the npm scope.