Hosting Platform
This document describes our multi-platform hosting infrastructure, deployment environments, and platform-specific configurations.
Platform Overview
Our hosting strategy is built around two primary platforms, each optimized for different parts of our ecosystem:
Vercel (Web Properties)
- OurOtters App - Main web application
- OurOtters Marketing Site - Public marketing website
- OurOtters Studio - Private internal tool
Mobile App Stores
- iOS App Store - React Native app via Expo
- Google Play Store - React Native app via Expo
Supabase (Backend Services)
- Database Hosting - PostgreSQL database
- Authentication - User management and auth flows
- Storage - File and document storage
- Real-time - Live subscriptions and updates
Hosting Architecture
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Vercel Web โ โ Mobile Stores โ โ Supabase โ
โ Properties โ โ โ โ Backend โ
โโโโโโโโโโโโโโโโโโโค โโโโโโโโโโโโโโโโโโโค โโโโโโโโโโโโโโโโโโโค
โ โข OurOtters App โ โ โข iOS App Store โ โ โข PostgreSQL โ
โ โข Marketing โ โ โข Google Play โ โ โข Auth Service โ
โ โข Studio Tool โ โ โข Expo Platform โ โ โข File Storage โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ โข Real-time โ
โโโโโโโโโโโโโโโโโโโDeployment Environments
Production
- Vercel Production: All web properties deployed to production domains
- App Stores: Production mobile apps available to end users
- Supabase Production: Live database and backend services
Development
- Vercel Preview: Branch deployments for web properties
- Expo Development: Development builds for mobile testing
- Supabase Development: Separate development database instance
Platform-Specific Configurations
Vercel Deployments
- Automatic deployments from main branch
- Preview deployments for all pull requests
- Environment variables managed per project
- Custom domains configured for each property
Mobile App Distribution
- Expo Application Services (EAS) for building and distribution
- Over-the-air updates via Expo Updates
- App store optimization for iOS and Android
Supabase Infrastructure
- Edge functions for custom backend logic
- Database migrations managed through Supabase CLI
- Real-time subscriptions for live data updates
- Row-level security for data protection
Monitoring and Performance
Web Properties (Vercel)
- Built-in analytics and performance monitoring
- Core Web Vitals tracking
- Function execution monitoring
Mobile Apps
- Expo analytics for app performance
- Crash reporting and error tracking
- App store performance metrics
Backend (Supabase)
- Database performance monitoring
- API endpoint analytics
- Real-time connection monitoring