Home

Awesome

Sangria Playground

Deploy

This is an example of a GraphQL server written with Play framework and Sangria.

If you'd like to explore a GraphQL server built with Sangria you may do so here: Sangria 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.

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.