- Add comprehensive analytics components with export functionality - Implement territory management with manager performance tracking - Add seatmap components for venue layout management - Create customer management features with modal interface - Add advanced hooks for dashboard flags and territory data - Implement seat selection and venue management utilities - Add type definitions for ticketing and seatmap systems 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2.1 KiB
2.1 KiB
API Deployment Instructions
Current Status
- ✅ React App: Fully deployed at https://cg-bct-2b68d--staging-u50c45fo.web.app
- ⚠️ API Functions: Need APIs to be enabled (in progress)
Issue: Google Cloud APIs Still Enabling
After upgrading to Blaze plan, these APIs need to be enabled:
cloudfunctions.googleapis.comcloudbuild.googleapis.comartifactregistry.googleapis.com
Solution Options
Option 1: Manual API Activation (Recommended)
- Visit Google Cloud Console
- Search for and enable these APIs:
- Cloud Functions API
- Cloud Build API
- Artifact Registry API
- Wait 2-3 minutes for activation
- Run:
firebase deploy --only functions
Option 2: Firebase Console Method
- Go to Firebase Console
- Click "Get Started" on Functions tab
- This will automatically enable required APIs
- Run:
firebase deploy --only functions
Option 3: Wait and Retry
APIs may still be enabling in background:
# Try every 5 minutes until it works
firebase deploy --only functions
After Functions Deploy Successfully
Your API endpoints will be available at:
GET /api/health- Health checkPOST /api/tickets/verify- Ticket verificationPOST /api/checkout/create- Stripe checkoutPOST /api/stripe/connect/start- Stripe ConnectGET /api/stripe/connect/status- Connection status
Test Commands
# Health check
curl https://cg-bct-2b68d--staging-u50c45fo.web.app/api/health
# Ticket verification (mock)
curl -X POST https://cg-bct-2b68d--staging-u50c45fo.web.app/api/tickets/verify \
-H "Content-Type: application/json" \
-d '{"qr":"test-qr-code"}'
Deploy to Production
Once functions work on staging:
firebase deploy --only hosting,functions # Deploy to main site
Your production URLs will be:
The React app is already 100% functional - the API will complete the full experience!