FoodRunz Deployment Guide

Complete deployment and backup strategy

Pre-Deployment Checklist

Environment Variables Verified

STRIPE_SECRET_KEY, SENDGRID_API_KEY, etc.

Stripe Webhooks Configured

Test webhook endpoints in production

HubSpot Integration Active

OAuth connected and scopes verified

All Backend Functions Tested

Use test_backend_function tool for each

Mobile Responsive Testing Complete

Test on actual iOS/Android devices

Legal Pages Reviewed

Terms of Service, Privacy Policy finalized

Database Backup Strategy

Automated Backups (Base44 Platform)

Base44 automatically handles database backups. No manual configuration needed.

Platform Managed

Manual Data Export (Optional)

For additional safety, export critical entities monthly:

// Export all entities via SDK const businesses = await base44.entities.VendorBusiness.list(); const drivers = await base44.entities.DriverProfile.list(); const transactions = await base44.entities.SalesTransaction.list(); // Save to JSON const backup = { date: new Date().toISOString(), businesses, drivers, transactions }; // Store in secure location

Critical Data to Monitor

  • SalesTransaction records (financial data)
  • VendorBusiness subscriptions (active customers)
  • DriverProfile records (contractor database)
  • ShiftAssignment history (delivery records)
  • DriverPayout records (payment history)
Security & Access Control

Admin Access

Limit admin role to trusted personnel only:

  • Regularly audit user roles via User entity
  • Admin pages enforce role === 'admin' check
  • Backend functions verify admin status before privileged operations

API Keys & Secrets

  • Rotate Stripe keys annually
  • Never expose secrets in frontend code
  • Use Base44 secrets management (not environment files)

Data Privacy

  • Driver GPS data is cleared after shift completion
  • Payment information stored only in Stripe (PCI compliant)
  • Customer data synced to HubSpot per GDPR guidelines
Deployment Steps
1

Publish via Base44 Dashboard

Click "Publish" in Base44 dashboard to deploy to production. Platform handles DNS, SSL, CDN automatically.

2

Configure Custom Domain (Optional)

Add your custom domain in Base44 settings. Update DNS CNAME records as instructed.

3

Update Stripe Webhook URLs

Update Stripe webhook endpoints to production function URLs. Re-verify webhook signature.

4

Verify Automations

Check all scheduled automations are active (weekly digests, monthly invoices, etc.)

5

Load Production Data

Import real vendor/driver data. Remove mock/demo records.

6

Monitor First 24 Hours

Watch error logs, test all user flows, monitor payment processing.

Post-Launch Monitoring

Daily Checks

  • Review AdminDashboard metrics (active vendors, drivers, shifts)
  • Check for failed payment transactions
  • Monitor driver shift assignments and completions

Weekly Maintenance

  • Review AdminPaymentDisputes for any issues
  • Audit AdminVendorRatings for vendor satisfaction trends
  • Check AdminDriverManagement for pending applications
  • Verify HubSpot sync is running correctly

Monthly Tasks

  • Generate and review driver payout reports
  • Analyze vendor loyalty tier progressions
  • Export financial data for accounting
  • Review and update pricing/plans if needed
Critical Alerts Setup

Set Up Monitoring For:

  • Failed Stripe webhook deliveries (payment failures)
  • Backend function errors (check logs daily)
  • Driver no-shows or shift cancellations
  • Vendor subscription payment failures
  • GPS tracking failures during active shifts
  • Email delivery failures (SendGrid dashboard)

Recommendation: Set up a dedicated Slack channel or email group for production alerts. Configure Base44 error notifications to forward there.