https://github.com/tpolecat/doobie-http4s-sangria-graphql-example
Example app that uses doobie, http4s, and Sangria to serve GraphQL.
https://github.com/tpolecat/doobie-http4s-sangria-graphql-example
Last synced: 9 months ago
JSON representation
Example app that uses doobie, http4s, and Sangria to serve GraphQL.
- Host: GitHub
- URL: https://github.com/tpolecat/doobie-http4s-sangria-graphql-example
- Owner: tpolecat
- License: mit
- Created: 2018-12-19T23:25:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T05:18:58.000Z (about 4 years ago)
- Last Synced: 2025-02-23T17:49:07.668Z (over 1 year ago)
- Language: PLpgSQL
- Size: 121 KB
- Stars: 84
- Watchers: 9
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## doobie-http4s-sangria-grapgql-example
Example app that uses doobie, http4s, and Sangria to serve GraphQL.
This was bootstrapped from an [example](https://github.com/OlegIlyenko/sangria-http4s-graalvm-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.