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_ID
This can just be set toraid-stats-c1d5a
RAID_HOOK_SECRET
The Raid (Stats) Hooks' secret - see GitHub Webhook SecretLABEL_HOOK_SECRET
The Label Hooks' secret - see GitHub Webhook SecretAUTH
A GitHub Personal Access TokenCURRENT_RAID_DISCORD_WEBHOOK_URL
The webhook URL for sending "current raid" messagesCOMPLETED_RAID_DISCORD_WEBHOOK_URL
The webhook URL for sending "completed raid" messagesPORT
optional 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