The BCGW Dashboard uses a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/hack4impact-umd/breastfeeding-center-gw/llms.txt
Use this file to discover all available pages before exploring further.
npm run dev command to start the full local stack — Firebase emulators, a Cloud Functions TypeScript watcher, and the Vite dev server — all managed together by scripts/dev.mjs.
How local development works
Runningnpm run dev from the project root starts three processes concurrently, orchestrated by scripts/dev.mjs:
- Firebase emulators — Firestore (port 8080), Auth (port 9099), Functions (port 5001), and the Emulator UI (port 4000)
- Cloud Functions TypeScript watch — rebuilds functions automatically on file changes
- Vite dev server — serves the React app at port 5173
Starting the dev stack
Run the dev command from the project root
Make sure you are in the repository root (not inside
react-app or cloud-functions), then run:Wait for all services to start
The script polls each service port until it accepts connections. When everything is ready, you will see:
Open the dashboard
Navigate to http://localhost:5173 in your browser. Sign in using Firebase Authentication — the local Auth emulator handles login without touching production credentials.
Inspect emulator state (optional)
Open the Firebase Emulator UI at http://localhost:4000 to browse Firestore documents, manage emulated users, and inspect function logs in real time.
Loading test data
The dev script automatically importscloud-functions/emulator_test_data/ into the Firestore emulator on startup. If you need a different dataset, you can import it manually after the emulators are running:
