tpolecat / doobie-http4s-sangria-graphql-example

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:PLpgSQL 78.4%Language:Scala 14.3%Language:HTML 7.3%