Giter VIP home page Giter VIP logo

graphql-editor's Introduction

GraphQLEditor Editor

GraphQLEditor makes it easier to understand GrapHQL schemas. Create a schema by joining visual blocks. GraphQLEditor will transform them into code.

With GraphQLEditor you can create visual diagrams without writing any code.

GraphQLEditor Features: GraphQL Super Easy, Think Visually, No Code Solution, Tool For Business Managers, Complex GraphQL Code, Merge All Query and Mutations

Live Demo Tweet

Here is a live demo example of GraphQLEditor.

Cloud Backend

GraphQL Editor Website

As cloud backend is coming soon, please do subscribe on our website to stay tuned.

Setup

Clone the repository

$ git clone https://github.com/slothking-online/graphql-editor
$ cd graphql-editor

Install with npm package manager

$ npm install

Running

$ npm run start

After that the editor should be running on localhost:

http://localhost:1569

How It Works

Create GraphQL nodes and connect them to generate a database schema.

GraphQLEditor GIF showing how to connect nodes

To create nodes press and hold spacebar, then hover mouse button on chosen category. Click the mouse button on node to create it. Connect nodes with each other.

Controls

  • Create - Press and hold spacebar and choose category » node and Left Mouse Button click
  • Pan - Press and hold Left Mouse Button and move mouse
  • Move - Press and hold Left Mouse Button on node
  • Rename - To rename node simply start typing when one node is selected
  • Connect - Click and hold desired node output and move it to other node's output then release mouse button IMPORTANT: Every node is connectable only if it creates a valid schema. Experiment to test it.
  • Node Properties - Click right mouse button on node
  • ⌘/Ctrl + Left Mouse Button click - select multiple nodes
  • Delete - Click delete button when node/nodes are selected or right click » delete

Small Tutorial

  1. Create graph » type node
  2. Rename it to "Cat"
  3. Create fields » "String" node
  4. Rename it to "name"
  5. Connect "name"

Contribute

Feel free to contact us and contribute in this GraphQL Editor project. [email protected]

  1. Fork this repo
  2. Create your feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

GraphQLEditor Roadmap GraphQLEditor Roadmap Features: Generate Queries For Frontend, GraphQL To Backend, Ready To Use Fake Backend, Backend In One place

graphql-editor's People

Contributors

aexol avatar hubertzubsh avatar hzub avatar sacro avatar c-rack avatar calinou avatar dennor avatar maciejkorsan avatar donroyco avatar kkotelczuk avatar iamrobmat avatar

Watchers

Scott Pritchard 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.