Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daniman/splendor-server
A node GraphQL server that provides the mechanics of the Splendor board game. See the frontend code at https://github.com/daniman/splendor-client.
https://github.com/daniman/splendor-server
graphql node redis
Last synced: 3 months ago
JSON representation
A node GraphQL server that provides the mechanics of the Splendor board game. See the frontend code at https://github.com/daniman/splendor-client.
- Host: GitHub
- URL: https://github.com/daniman/splendor-server
- Owner: daniman
- Created: 2020-04-29T03:30:47.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-12-12T15:16:32.000Z (about 2 years ago)
- Last Synced: 2024-04-16T07:27:25.296Z (10 months ago)
- Topics: graphql, node, redis
- Language: JavaScript
- Homepage: https://splendoor.herokuapp.com
- Size: 5.1 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# splendor-server
A node GraphQL server that provides the mechanics of the [Splendor board game](https://en.wikipedia.org/wiki/Splendor_(game)).Game state is persisted using *redis*. If you are developing locally, you'll need to
install redis and have it running.On MacOS:
```
$ brew install redis
$ redis-server
```Run the server for general development:
```
$ node index.js
```**Note:** If you would like to use Apollo Studio to query `localhost:4000` and view metrics from your server, rather than GraphQL Playground, visit the [`splendor` graph's settings page](https://engine.apollographql.com/graph/splendor/settings) to get an API Key, then run your server with an `APOLLO_KEY`, like so:
```
APOLLO_KEY=service:splendor:XXXX_YYYY_ZZZZ node index.js
```You'll be able to view the graph at https://studio.apollographql.com/graph/splendor.