An example of GraphQL server written with Play and sangria
JavaScript HTML CSS Scala LiveScript Makefile
Switch branches/tags
Nothing to show
Clone or download
OlegIlyenko Merge pull request #17 from sullis/sangria-1.4.1
Sangria 1.4.1, Play Framework 2.6.15
Latest commit a11951a Jun 5, 2018

README.md

Sangria playground

This is an example of a GraphQL server written with Play framework and Sangria. It also serves as a playground. On the right hand side you can see a textual representation of the GraphQL schema which is implemented on the server and that you can query here. On the left hand side you can execute a GraphQL queries and see the results of its execution.

It's available here:

http://try.sangria-graphql.org

This is just a small demonstration. It really gets interesting when you start to play with the schema on the server side. Fortunately it's pretty easy to do. Since it's a simple Play application, all it takes to start playground locally and start playing with the schema is this:

$ git clone https://github.com/sangria-graphql/sangria-playground.git
$ cd sangria-playground
$ sbt run

Now you are ready to point your browser to http://localhost:9000. The only prerequisites are SBT and Java 8.