Skip to content

Various example implementations of GraphQL server in many popular web frameworks

Notifications You must be signed in to change notification settings

gauravtiwari/graphql-server-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP: Various GraphQL Server API Examples

This repo is work in progress and contains various examples of GraphQL server in popular web frameworks and languages. It implements standard blog application with three models or database tables - Users, Posts, and Comments, the blog application serves a nice example with model relationships and nested loading of data.

If you would like to add one of your own, just open a PR.

For setting up and running these examples locally, please refer to documentation in that folder. For ex: README.md

Example implementations

Please refer to relevant example folder in order to setup and run it locally. All supported GraphQL queries are listed in relevant Readme's.

Node (without token auth)

  • Express
  • Koa
  • Meteor

Elixir (with token auth)

  • Phoenix

PHP (with token auth)

  • Laravel

Scala (WIP)

  • Play

Python (without token auth)

  • Django
  • Flask

Ruby (with token auth)

  • Sinatra
  • Rails
  • Cuba
  • Roda

TODO

  • TOKEN auth
  • Make API consistent in all implementations (kinda of there)
  • CSRF protection for required frameworks

About

Various example implementations of GraphQL server in many popular web frameworks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published