Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daniman/splendor-client
A frontend client that provides mechanics for the Splendor board game. See the backend code at https://github.com/daniman/splendor-server.
https://github.com/daniman/splendor-client
graphql react typescript
Last synced: about 2 months ago
JSON representation
A frontend client that provides mechanics for the Splendor board game. See the backend code at https://github.com/daniman/splendor-server.
- Host: GitHub
- URL: https://github.com/daniman/splendor-client
- Owner: daniman
- Created: 2020-04-29T03:20:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-03T21:56:19.000Z (about 4 years ago)
- Last Synced: 2024-04-16T07:27:25.409Z (9 months ago)
- Topics: graphql, react, typescript
- Language: TypeScript
- Homepage: https://splendoor.netlify.com
- Size: 1.35 MB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A React app that provides a light-weight interface for the mechanics of the [Splendor board game](https://en.wikipedia.org/wiki/Splendor_(game)).
This app uses Apollo Client and talks to [this simple GraphQL server](https://github.com/daniman/splendor-server) for its game mechanics and state persistence.
To run the app:
```
$ npm install
$ npm start
```This app uses TypeScript. the `types.ts` file is machine generated from the GraphQL server created by `splendor-server`. Changes to the GraphQL schema can be reflected in the types file by running:
```
$ npm run codegen:local
```
or
```
$ npm run codegen:prod
```
Depending on whether you want to get the schema from your local development server (typical) or from production.Sound files sourced from https://themushroomkingdom.net/media/smb3/wav