Sample Projects

boardgamegeek-graphql-proxy

Howard Lewis Ship created this simple proxy to expose part of the BoardGameGeek database as GraphQL, using Lacinia.

It was used for examples in his Clojure/West 2017 talk: Power to the (Mobile) People: Clojure and GraphQL.

leaderboard-api
A simple API to track details about games and high scores. Built on top of Compojure and PostgreSQL. See this blog post by the author.
open-bank-mark

This project consists of multiple components creating a bank simulation.

The graphql-endpoint component consists of three services that all consume from Kafka. It’s mainly working with subscriptions where a command is put to Kafka and the result is returned. It is also possible to query transactions, using a derived view. PostgreSQL is used to store user accounts for logging in, and to store all the transactions. The test module Contains a generator to load test the subscriptions and can be used as inspiration to do similar testing.

Also part of the project is a frontend using re-graph. Users can login, transfer money, and get an overview of all the bank accounts.

Fullstack Learning Project
A port of The Fullstack Tutorial for GraphQL, ported to Clojure and Lacinia.
Hacker News GraphQL
A version of Hacker News implemented using GraphQL and Datomic on the backend, and re-frame on the front end.