Currently
-
Manages automation of editing & creating labels between repos using one repo as the source of truth.
-
Raid stats coalescing, storage in FireStore & serving to frontend
Create a .env file
FIREBASE_PROJECT_IDThis can just be set toraid-stats-c1d5aRAID_HOOK_SECRETThe Raid (Stats) Hooks' secret - see GitHub Webhook SecretLABEL_HOOK_SECRETThe Label Hooks' secret - see GitHub Webhook SecretAUTHA GitHub Personal Access TokenCURRENT_RAID_DISCORD_WEBHOOK_URLThe webhook URL for sending "current raid" messagesCOMPLETED_RAID_DISCORD_WEBHOOK_URLThe webhook URL for sending "completed raid" messagesPORToptional Only useful for production - not setting this uses port 5000
Starts the firestore emulator, and runs the provided script. The emulator is closed once the script has completed.
Runs the server - needs to have been built first npm run build
Runs dev server on PORT (or 5000 if not set) after starting the firestore emulator
Builds the server using tsc
Runs Jest in watch mode after starting the firestore emulator
Runs Jest while checking coverage