GithubHelp home page GithubHelp logo

fatemehmozafari588 / zero-to-graphql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from steveluscher/zero-to-graphql

0.0 0.0 0.0 158 KB

Examples of GraphQL endpoints created using various languages/frameworks.

JavaScript 30.93% Ruby 18.23% Python 7.53% Scala 7.11% CoffeeScript 0.31% Elixir 26.64% CSS 0.52% HTML 8.75%

zero-to-graphql's Introduction

zero-to-graphql

In this repository, you will find examples of GraphQL endpoints created using various languages atop different frameworks. The goal is to demonstrate how you might go about creating a GraphQL endpoint atop your existing infrastructure, whatever that may be, without having to rewrite your data model.

Watch the original presentation

Zero to GraphQL in 30 Minutes โ€“ video

The examples' data model

Every example in this repository exposes a Person data model using an API considered idiomatic for the framework in question (eg. ActiveRecord for Rails). The type definition of the Person model looks like this:

type Person {
  id: String!
  first_name: String!
  last_name: String!
  username: String!
  email: String!
  friends: [Person]
}

Running the examples

Each example features its own README.md file to help you get up and running.

Contributing

See a language or framework for which there is no example? Feel free to send us a pull request! Expose the data model outlined above using whatever API you like, be sure to provide some seed data, and write a README that outlines all of the steps needed to get up and running with an instance of GraphiQL that you can use to issue queries to your new GraphQL endpoint.

zero-to-graphql's People

Contributors

conradwt avatar steveluscher avatar olegilyenko avatar nikgraf avatar rodorgas 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.