Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.67 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.67 KB

Codacy Badge Build Status

GraphQL API for Koup

What is Koup?

It is a replica of the boardgame Coup. Rules can be found here


Some Notes about Koup:

The corresponding front-end of Koup is created by @stevenw47 and can be found here at https://github.com/stevenw47/koup. To get the whole Koup app up and running, you will need to build both the front-end from @stevenw47's repo and the back-end from this repo.


Koup Demo!



Brief Description of the API:

GraphQL Endpoint

/graphql

More details in GraphQL Endpoint documentation




Setup Endpoint (For Setting Up the Service)

/setup



Housekeeping Endpoints (For Purging Expired Rooms)

# Clear rooms that has last_updated time over 'minutes'

/housekeeping/purge/<int: minutes>
# Dynamically clear rooms that has last_updated time over the max_idle_minutes defined by the room

/housekeeping/purge/dynamic