Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sangria-graphql/sangria-playground
An example of GraphQL server written with Play and sangria
https://github.com/sangria-graphql/sangria-playground
Last synced: about 1 month ago
JSON representation
An example of GraphQL server written with Play and sangria
- Host: GitHub
- URL: https://github.com/sangria-graphql/sangria-playground
- Owner: sangria-graphql
- License: other
- Created: 2015-08-09T03:14:50.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-07-30T01:23:14.000Z (5 months ago)
- Last Synced: 2024-08-01T22:51:36.128Z (4 months ago)
- Language: JavaScript
- Homepage: https://sangria-graphql.github.io
- Size: 4.09 MB
- Stars: 87
- Watchers: 11
- Forks: 45
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-graphql - sangria-playground - An example of GraphQL server written with Play and sangria. (Examples / Scala Examples)
README
## Sangria Playground
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
This is an example of a [GraphQL](https://facebook.github.io/graphql) server written with [Play framework](https://www.playframework.com) and
[Sangria](https://github.com/sangria-graphql/sangria).If you'd like to explore a GraphQL server built with Sangria you may do so here: [Sangria Playground](https://sangria-play-example.herokuapp.com). 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:```bash
$ 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](http://localhost:9000).
The only prerequisites are [SBT](http://www.scala-sbt.org/download.html) and [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).