Wordloop Platform
Architecture

Infrastructure & Hosting

Production hosting, local emulation, and network routing.

Infrastructure & Hosting

Wordloop deploys entirely to managed Google Cloud serverless infrastructure in production. For information about local development and emulation, see the Local Infrastructure page.

Production Hosting

ServiceGCP ResourceDescription
wordloop-docsFirebase HostingNext.js/Fumadocs static site deployment.
wordloop-appCloud RunNext.js server utilizing SSR and Route Handlers.
wordloop-coreCloud RunGo REST API.
wordloop-mlCloud Run (x2)Deployed as two separate services: an HTTP web server and a Pub/Sub background worker.
DatabaseCloud SQLManaged Postgres 15 database instance.
MessagingCloud Pub/SubManaged topics and subscriptions.

API Routing (Production)

To ensure the frontend is environment-agnostic, the Next.js wordloop-app implements a Server-Side API Proxy.

  • All frontend fetches are directed to /api/....
  • A Next.js Route Handler proxies these requests to the underlying wordloop-core URL (defined via the CORE_API_URL environment variable at runtime).
  • This prevents hardcoding backend URLs during the Next.js build step.

Environment Configuration

Configuration relies exclusively on environment variables injected at runtime. There are NO configuration files deployed with the containers. See individual service handbooks for specifics.

On this page