Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/beeman/nx-nest-graphql

NX Workspace + Nest and GraphQL Starter repo
https://github.com/beeman/nx-nest-graphql

Last synced: about 1 month ago
JSON representation

NX Workspace + Nest and GraphQL Starter repo

Lists

README

        

# nx-nest-graphql

A starter with:

- NestJS v7
- @nestjs/config
- @nestjs/graphql
- Username/Password Authentication (login/register)
- [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator/)
- [nxplus](https://github.com/beeman/nxplus)
- [prisma](https://github.com/prisma/prisma/)

## Usage

- [Generate](https://github.com/beeman/nx-nest-graphql/generate) new project using this repo as template or
- `git clone https://github.com/beeman/nx-nest-graphql`
- cd nx-nest-graphql
- yarn

## Project Structure

| 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 |

## Setup

Run `yarn setup` to change the npm scope.

# MIT Licensed