Simple GraphQL API with NestJS in Back-end.
- New recipes can be created
- Recipe, Recipes can be listed
- Recipe can be deleted
- Graphql can be testing
- Graphql Query must have pagination
- User, Users can be listed
- User can be logged (JWT Token) with username and password
- User have RefreshToken
- User have User Role (https://docs.nestjs.com/graphql/extensions)
- Soft Delete
- Translatable Entity
- Remove orphaned entities from a relation (typeorm/typeorm#6382)
- When create a new recipe, that should be kept whom (Recipe -> User Relations)
- API Exception Structures
- Batch Actions
- DataLoader integration
- Nest.js
- GraphQL
- TypeORM
- Jest
- Automatic Testing for GraphQL APIs
- Maybe can running PostgreSQL
- Node = v14.17.0
- Clone this repository;
- Run
npm or yarn install
at each project in order to install dependencies. - Run
yarn start:dev
forback-end
andyarn start
forfront-end
folder. - Access
localhost:3000
in your browser. GraphQL playground:localhost:3333/graphql
.
Run npm run test:e2e
and watch
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.