Revision indexing in progress... (search in this revision will be accurate after indexed)
| .onedev-buildspec.yml | Loading last commit info... | |
| src | ||
| .gitignore | ||
| Dockerfile | ||
| README.md | ||
| package-lock.json | ||
| package.json |
README.md
express.unnamed.group
REST API for querying game server status using GameDig. Built with Express 5.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | / | Redirects to /api |
| GET | /api | Health check |
| GET | /api/servers | Returns live status of configured servers |
Environment Variables
| Variable | Default | Description |
|---|---|---|
HTTP_PORT | 80 | Port the HTTP server binds to |
UDP_PORT | — | UDP port for GameDig queries |
Running Locally
npm install
npm start
Docker
docker build -t express.unnamed.group .
docker run -p 80:80 -p 13337:13337/udp express.unnamed.group