tssbot.web-backend

Rust/Axum API server for the TSS Bot web platform. Serves tournament, team, player, and game data via REST endpoints backed by SQLite.

Build

cargo build --release

Run

cp example.env .env  # edit with your values
cargo run --release

The backend reads .env from the parent directory or the current directory.

Environment Variables

Variable Description
BACKEND_PORT Port to listen on (default: 6000)
BACKEND_HOST Bind address (default: 127.0.0.1)
BACKEND_ALLOWED_ORIGINS Comma-separated CORS origins
TSS_BATTLES_DB Path to battles SQLite database
TSS_TEAMS_DB Path to teams SQLite database
TSS_TOURNAMENTS_DB Path to tournaments SQLite database
VEHICLE_TRANSLATIONS_JSON Path to vehicle name translations
VEHICLE_DATA_CACHE_JSON Path to vehicle data/icon cache
S
Description
TSS Bot Web Backend - Rust/Axum API server
Readme GPL-2.0 76 KiB
Languages
Rust 99.1%
Shell 0.9%