~xenrox/10man-api

GraphQL API for 10man
logic: Fix elo calculation
Make port configurable
Update dependencies

clone

read-only
https://git.xenrox.net/~xenrox/10man-api
read/write
git@git.xenrox.net:~xenrox/10man-api

You can also use your local clone with git send-email.

#10man-api

builds.sr.ht status

Code for 10man API.

#Configuration

Your config file should be placed at /etc/10man-api/config.

# Port
port 8080
# Connection string for the database (required)
connection-string postgresql://user:pass@localhost/db?sslmode=disable
# Comma separated list of steamID64 for users that should become an admin
admins STEAMID64_ADMIN1,STEAMID64_ADMIN2
# Comma separated list of maps
maps inferno,mirage