GithubHelp home page GithubHelp logo

yehonal / graphql-sequelize-crud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glavin001/graphql-sequelize-crud

0.0 2.0 0.0 940 KB

Automatically generate queries and mutations from Sequelize models

Home Page: https://www.npmjs.com/package/graphql-sequelize-crud

License: MIT License

TypeScript 90.52% JavaScript 9.48%

graphql-sequelize-crud's Introduction

graphql-sequelize-crud

Automatically generate queries and mutations from Sequelize models

Build Status Maintainability Test Coverage

NPM


Demo
See demo/index.ts for demo source code.
The following is automatically generated from a simple Sequelize schema. graph Generated using graphql-viz.

Installation

# Install Peer Dependencies
npm install --save graphql graphql-relay graphql-sequelize-teselagen sequelize
# Install GraphQL-Sequelize-CRUD
npm install --save graphql-sequelize-crud

Usage

See demo/index.ts for demo source code.

Why

  • ✅ Less error prone development. No more keeping GraphQL in sync with Database fields.
  • Don't Repeat Yourself.
  • ✅ Power of GraphQL and Relay with rapid database development of Sequelize

Features

  • Generated GraphQL API only from Sequelize Models defintitions
    • Relay compatiable GraphQL API
  • Generate Queries
    • READ single
    • READ all
  • Generate Mutations
    • CREATE
    • UPDATE
    • DELETE
  • Custom queries and mutations within Sequelize Models defitions

graphql-sequelize-crud's People

Contributors

glavin001 avatar yehonal avatar maxpain avatar mschinis avatar anat avatar daralthus avatar

Watchers

 avatar James Cloos avatar

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.