An open API service indexing awesome lists of open source software.

https://github.com/wichopy/react-codenames-graphqlserver


https://github.com/wichopy/react-codenames-graphqlserver

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

### To query all cells:
```
{
wordCell {
index
word
type
isEnabled
}
}
```
### To query a single cell:
```
{
wordCell(index: 1) {
index
word
type
isEnabled
}
}
```

## Query the score
```
{
score {
Red
Blue
}
}
```

### To do mutations:
```
mutation {
updateCell(newCell: { index: 24, word: "Bob", type: "Red", isEnabled: false}) {
index
word
type
isEnabled
}
}

mutation {
updateScore(type: "Red") {
Red
Blue
}
}
```