A full-stack analytics application with React MUI frontend and Python FastAPI backend on Google Cloud.
- Frontend: React with Material-UI dark theme
- File Upload: Drag-and-drop Excel file uploader to Cloud Storage
- Real-time Status: Job timeline with Firestore integration
- Analytics: Interactive charts with Chart.js
- Backend: FastAPI service on Cloud Run
- Processing: Pandas data processing with report generation
- Integration: Power BI REST API, multi-cloud support (Azure, AWS, GCP, OCI)
Frontend (React) → Firebase Storage → Cloud Function → Cloud Run (FastAPI) → Power BI
↓ ↓
Firestore ←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←
npm install
npm startcd backend
pip install -r requirements.txt
uvicorn app.main:app --reload# Build and deploy to Cloud Run
gcloud builds submit --tag gcr.io/PROJECT_ID/stratarelay-api backend/
gcloud run deploy stratarelay-api --image gcr.io/PROJECT_ID/stratarelay-api --platform managed
# Deploy Cloud Function
gcloud functions deploy trigger-processing --runtime python311 --trigger-bucket YOUR_BUCKETCopy .env.example to .env and configure:
- Firebase credentials
- Google Cloud project settings
- API endpoints
Store these secrets in Google Secret Manager:
powerbi-token: Power BI access tokenpowerbi-dataset-id: Power BI dataset IDazure-credentials: Azure service principalaws-credentials: AWS access keysoci-credentials: OCI configuration