https://github.com/cwithmichael/ocaml-game-geek
OCaml Game Geek is centered around building a GraphQL server that mimics some of the functionality of Board Game Geek.
https://github.com/cwithmichael/ocaml-game-geek
dream graphql graphql-server ocaml
Last synced: about 1 year ago
JSON representation
OCaml Game Geek is centered around building a GraphQL server that mimics some of the functionality of Board Game Geek.
- Host: GitHub
- URL: https://github.com/cwithmichael/ocaml-game-geek
- Owner: cwithmichael
- License: mit
- Created: 2022-05-20T19:41:56.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-22T10:45:24.000Z (over 3 years ago)
- Last Synced: 2025-04-19T11:08:56.358Z (about 1 year ago)
- Topics: dream, graphql, graphql-server, ocaml
- Language: OCaml
- Homepage:
- Size: 110 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OCaml Game Geek
This project is based on the wonderful Lacinia GraphQL tutorial for Clojure. You can read more about it at [http://lacinia.readthedocs.io/en/latest/tutorial/](http://lacinia.readthedocs.io/en/latest/tutorial/).
This project makes use of
[Dream](https://github.com/aantron/dream)
and [ocmal-graphql-server](https://github.com/andreas/ocaml-graphql-server). Two awesome projects that I highly recommend you check out.
OCaml Game Geek is centered around building a GraphQL server that mimics some of the functionality of [Board Game Geek](https://boardgamegeek.com/).
## How to run
### opam
> opam install . --deps-only
> opam exec -- dune build
> ./_build/default/ogg_server.exe
### Or npm / esy
> npm install esy && npx esy
> npx esy start
### Or if you prefer Docker
**Build**
> docker build . -t ogg
**Run**
> docker run -d --name ogg -p 8080:8080 --rm ogg
**Stop**
> docker stop ogg
You should be able to now go to http://localhost:8080 in your web browser and play around with the schema.

