Setting up the BCGW Dashboard for local development requires cloning the repository, installing dependencies in two separate directories, and configuring environment variables for Firebase and third-party API credentials.Documentation 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.
Prerequisites
Before you begin, make sure you have the following installed:- Node.js 22+ and npm
- Firebase CLI — install globally with
npm install -g firebase-tools - A Firebase project with Firestore and Authentication enabled
Setup steps
Configure environment variables
The project requires two Find your Firebase client config in the Firebase console under Project Settings > Your apps. Obtain Acuity, Stripe, and Squarespace API keys from their respective service dashboards. The email variables are used by nodemailer to send invite emails via OAuth2.
.env files — one for the React app and one for the Cloud Functions.react-app/.env — Firebase client configuration for the Firebase JS SDK. All variables use the VITE_ prefix so Vite exposes them to the browser:react-app/.env
cloud-functions/functions/.env — Firebase admin config plus API keys for third-party integrations:cloud-functions/functions/.env
Emulator test data is available at
cloud-functions/emulator_test_data/. This data is automatically imported when you start the local development stack — you do not need production credentials to work with data locally.