Skip to content

Technology Stack Definition and Developer Guide

Defines a single, authoritative standard for enterprise-grade media platforms.

  • Final technology stack (Runtime, API, AI, Admin)
  • Local development standards and developer contracts
  • CI/CD and GitOps-based automation
  • E2E automation (Playwright)
  • Payments, messaging, and ad management
  • AI semantic search infrastructure
  • Real-time incident response and observability strategy

We aim to build an enterprise media platform integrating AI, payments, advertising, automation, and observability.

  • 🌍 Global response within 100ms (Edge)
  • 🔐 API Gateway-based Security and Policy First
  • 🤖 AI Semantic Search and Personalized Recommendations
  • 🚀 Real-time Fault Detection and Response
  • 👥 Multi-team Scalable Standard Development Experience
  • Contract First: The API is the contract
  • Local First: Validate locally before reaching the server
  • Gateway Aware: Validate at the same entry point (Zuplo) as the actual user
  • Observability by Design: Failures are immediately exposed, no hiding allowed
DomainTechnologyRole
RuntimeCloudflare WorkersGlobal edge execution
API FrameworkHono + ZodContract-first, type-safe API
DatabaseCloudflare D1 + DrizzleNews and metadata storage
Cache / KVCloudflare KVSession, Token, Cache
API GatewayZuplo (GitOps)Authentication, Rate Limiting, Policies
CI/CDGitHub ActionsTesting, Deployment, Policy Synchronization
Local DevWranglerLocal Edge Simulation
Unit TestingVitestLocal·CI Standard
E2E TestingPlaywrightUser Perspective Validation
MonitoringSentryReal-time Fault Response
AI SearchCloudflare VectorizeSemantic News Search
PaymentsStripeSubscription·Payment
MessagingTwilioSMS·Notifications
EditorCursorAI Pair Programming
  1. Code that fails locally must not be deployed to the server
  2. The server is an execution environment, not a development environment
  3. Testing is a mandatory gateway, not an option
  4. Enforce development environments with rules; documentation alone is insufficient

“CI is not the source of trust, but the second line of defense.”

Local Development (Cursor)
Local Unit & Contract Testing (Vitest)
Local Edge Simulation (Wrangler)
Git Commit / Push (GitHub)
CI Continuous Testing (Vitest)
Automated Deployment (Cloudflare Workers)
Gateway Synchronization (Zuplo)
End-to-End Verification (Playwright)
Runtime Monitoring & Incident Response (Sentry)

Core Rule: Always validate locally before deploying to the server.