Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gauravtiwari/graphql-server-examples
Various example implementations of GraphQL server in many popular web frameworks
https://github.com/gauravtiwari/graphql-server-examples
graphql graphql-server rails
Last synced: 18 days ago
JSON representation
Various example implementations of GraphQL server in many popular web frameworks
- Host: GitHub
- URL: https://github.com/gauravtiwari/graphql-server-examples
- Owner: gauravtiwari
- Created: 2016-05-19T03:27:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-07T07:45:51.000Z (over 7 years ago)
- Last Synced: 2024-11-17T12:52:22.786Z (about 1 month ago)
- Topics: graphql, graphql-server, rails
- Language: JavaScript
- Homepage:
- Size: 1.71 MB
- Stars: 38
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/gauravtiwari/graphql-server-examples/blob/master/elixir/phoenix_graphql/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