Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.01 KB

SpriteCollab GraphQL Server

This is a GraphQL server for accessing the SpriteCollab (web) project.

It is hosted at https://spriteserver.pmdcollab.org

To run this server yourself, configure the .env file. The variable names should be self-explanatory.

The server is running on port 3000*. It does not support HTTPS and is meant to be run behind a reverse proxy. The GraphQL endpoint is at /graphql.

*: With the Docker Compose setup in this repo, it will listen bind to host port 31114.

discord feature

Everything related to Discord is optional, and is used to send error reports to Discord servers, and if that is enabled the bot can also resolve Discord IDs in credit entries.

Schema

To get the schema, run the server and use gql-cli to query it.

Or query it from the public instance:

gql-cli https://spriteserver.pmdcollab.org/graphql --print-schema > schema.graphql