Ecosystem Setup Guide
How to create a new FireUX ecosystem and wire Firebase correctly.
Moved from /ecosystems
The setup guide now lives at /ecosystems/learn-more. /ecosystems is the live ecosystem directory.
Docs hierarchy
- /ecosystems: browse active ecosystems.
- /ecosystems/learn-more: create a new ecosystem and wire Firebase.
- /apps: create global or tenant apps under an ecosystem.
1. Create Firebase project
- Create a new Firebase project and switch billing from Spark to Blaze.
- Enable Authentication, Firestore, and Storage.
- Create a Web app and save the Firebase web config values.
- Create a service account key for local admin/server tasks.
2. Scaffold ecosystem package
Use the repo-local scaffolder to generate package structure and baseline config.
pnpm create:ecosystem -- --name <name> --firebase-project <firebase-project-id>3. Place Firebase values correctly
- Put core Firebase fields in
ecosystem.config.ts. - Put
NUXT_FIREBASE_APP_IDin the app.env. - Put optional
NUXT_FIREBASE_MEASUREMENT_IDin the app.env. - Store service account JSON under the ecosystem config folder.
- Set project binding in ecosystem
.firebaserc.
4. Create global app
Continue to /apps for full app scaffolding, env setup, and deploy wiring.
5. Validate
pnpm guard
pnpm typecheck:packages
pnpm typecheck:apps