Giter Club home page Giter Club logo

nest-typeorm-graphql-jest's Introduction

Starter - NestJS + TypeORM + GraphQL + Jest + JWT

Simple GraphQL API with NestJS in Back-end.

DeepScan grade Contributors License


Functional Requirements

  • 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

Non-functional Requirements

  • Nest.js
  • GraphQL
  • TypeORM
  • Jest

What can be better?

  • Automatic Testing for GraphQL APIs
  • Maybe can running PostgreSQL

Dependencies

Getting started

  1. Clone this repository;
  2. Run npm or yarn install at each project in order to install dependencies.
  3. Run yarn start:dev for back-end and yarn start for front-end folder.
  4. Access localhost:3000 in your browser. GraphQL playground: localhost:3333/graphql.

Testing

Run npm run test:e2e and watch

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

nest-typeorm-graphql-jest's People

Contributors

filtresizkahve avatar tamert avatar

Stargazers

 avatar

Forkers

muhep06

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.