gmkumar2005 / sangria-swapi

Example GRAPHQL server written with Play framework, MacWire and Sangria

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sangria swapi

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 project sangria-swapi is based on https://github.com/sangria-graphql/sangria-playground.git Uses

  • Sangria
  • Circe
  • Macwire
  • Test cases for controllers

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/gmkumar2005/sangria-swapi.git
$ cd sangria-swapi
$ sbt run

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

About

Example GRAPHQL server written with Play framework, MacWire and Sangria

License:Other


Languages

Language:JavaScript 99.1%Language:HTML 0.3%Language:Scala 0.1%Language:CSS 0.1%Language:LiveScript 0.0%Language:Makefile 0.0%Language:Objective-C 0.0%Language:PLpgSQL 0.0%Language:Dockerfile 0.0%Language:R 0.0%Language:Nix 0.0%Language:LSL 0.0%Language:Liquid 0.0%Language:TypeScript 0.0%Language:Java 0.0%Language:Pascal 0.0%Language:TeX 0.0%Language:Shell 0.0%Language:ActionScript 0.0%Language:Groovy 0.0%Language:FreeMarker 0.0%Language:Lua 0.0%Language:Forth 0.0%Language:ABAP 0.0%Language:Visual Basic 0.0%Language:Tcl 0.0%Language:VHDL 0.0%Language:C++ 0.0%Language:Clojure 0.0%Language:AutoHotkey 0.0%Language:Gherkin 0.0%Language:Elixir 0.0%Language:Perl 0.0%Language:Go 0.0%Language:Common Lisp 0.0%Language:Mask 0.0%Language:Scheme 0.0%Language:Assembly 0.0%Language:OCaml 0.0%Language:Ruby 0.0%Language:Cirru 0.0%Language:GLSL 0.0%Language:Haskell 0.0%Language:Rust 0.0%Language:Dart 0.0%Language:Elm 0.0%Language:Erlang 0.0%Language:Vala 0.0%Language:Python 0.0%Language:Haxe 0.0%Language:PowerShell 0.0%Language:CoffeeScript 0.0%Language:Eiffel 0.0%Language:PHP 0.0%Language:OpenSCAD 0.0%Language:D 0.0%Language:Verilog 0.0%Language:Batchfile 0.0%Language:Lean 0.0%Language:Julia 0.0%Language:MATLAB 0.0%Language:Io 0.0%Language:XQuery 0.0%Language:Ada 0.0%Language:ColdFusion 0.0%Language:C# 0.0%Language:COBOL 0.0%Language:JSONiq 0.0%