Skip to content

Configuration

Planning Game uses environment files for different deployment targets:

VariableDescription
PUBLIC_FIREBASE_API_KEYFirebase API key
PUBLIC_FIREBASE_AUTH_DOMAINFirebase auth domain
PUBLIC_FIREBASE_DATABASE_URLRealtime Database URL
PUBLIC_FIREBASE_PROJECT_IDFirebase project ID
PUBLIC_FIREBASE_STORAGE_BUCKETStorage bucket
PUBLIC_FIREBASE_MESSAGING_SENDER_IDFCM sender ID
PUBLIC_FIREBASE_APP_IDFirebase app ID

Each project in /projects/{projectId} has:

FieldTypeDescription
namestringDisplay name
abbreviationstringShort code for card IDs
descriptionstringProject description
versionstringCurrent version
scoringSystemenum”1-5” or “fibonacci”
repoUrlstringRepository URL
languagesarrayProgramming languages
frameworksarrayFrameworks used
developersarray[{id, name, email}]
stakeholdersarrayStakeholder IDs
iaEnabledbooleanAI features enabled
agentsGuidelinesstringGuidelines for AI agents
archivedbooleanProject archived

Each MCP instance needs:

  • serviceAccountKey.json — Firebase credentials
  • .firebaserc — Firebase project mapping
  • .env.* — Environment variables

.mcp-user.json (per developer, gitignored):

{
"developerId": "dev_001",
"developerName": "John Doe",
"developerEmail": "john@example.com"
}
ServicePort
Firestore8080
Realtime Database9000
Storage9199
Emulator UI4000
Dev Server4321
CommandDescription
npm run devStart dev server
npm run emulatorStart Firebase emulators
npm run buildProduction build
npm testRun unit tests
npm run test:e2eRun E2E tests
npm run deployDeploy to Firebase