/doobie-http4s-sangria-graphql-example

Example app that uses doobie, http4s, and Sangria to serve GraphQL.

Primary LanguagePLpgSQLMIT LicenseMIT

doobie-http4s-sangria-grapgql-example

Example app that uses doobie, http4s, and Sangria to serve GraphQL.

This was bootstrapped from an example by @OlegIlyenko. Thanks!

Quick Start

Start up the demo database with

docker-compose up -d

Then do

sbt core/run

or if you have bloop set up you can do

bloop run core

The go to http://localhost:8080 and play around.

When you're done, ^C to kill the Scala server and

docker-compose down

to shut down the database.