Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
queries
src
.gitignore
README.md
build.sbt
stage1-stage2.patch
stage2-stage3.patch
stage3-stage4.patch
stage4-stage5.patch

README.md

Example of GraphQL with Scala

An example Scala GraphQL server written with akka-http and sangria.

Running the example

sbt ~reStart

SBT will automatically compile and restart the server whenever the source code changes.

After the server is started you can run queries interactively using GraphiQL by opening http://localhost:8080 in a browser.

Database Configuration

This example uses an in-memory H2 SQL database. The schema and example data will be re-created every time server starts.

If you would like to change the database configuration or use a different database, then please update src/main/resources/application.conf.

master branch has the newest version of code, but if you want to repeat and test what I did during presentation there are state1 to state5 branches for this purpose, additionally there are patch files that would help observe what changed during every stage

You can’t perform that action at this time.