The code behind https://bf2.top/
Monorepo built with turborepo and dependencies handled by NPM.
Discord bot for listening to matches being arranged in discord.
The core of the system, scheduling automation jobs, hosting discord and teamspeak bots, handling match and server states.
Hosting apis. Platform api to create and delete bf2 servers, rcon api to interact with running servers, and api's for changing the player, match and server models.
Web app where users can interact with matches, see scores and stats, set up teams and plan matches.
Utility functions wrapping core api and domain specific functions.
Utility functions for interaction with discord
Very lightweight scheduler wrapping setTimeout. Supports time intervals and cron notation.
Wrapping logg functions, locally with winston and remote with logtail
Api and services to simplify communication supabase with supabase.
Typescript typings
Minor util files and functions, not big enough for its own package.
- bot: 5001
- engine: 5004
- platform: 5003
- rcon: 5002
- web: 5005