WELCOME BACKGAMES
Phase 0
WBG Club Foundation

Welcome back,
players.

The future home for WBG accounts, linked platforms, XP, rewards, games, beta access, and perks.

PHASE0FOUNDATION
ApplicationNext.js + TypeScript

One maintainable web and API foundation.

DatabaseMongoDB ready

Validated environment and reusable connection layer.

DeploymentTest-first

Remote branch, PM2, health checks, and rollback gates.

Current milestone

Platform foundation

In progress
Reusable project structure

App Router, strict TypeScript, linting, and unit tests.

Safe server configuration

Validated environment variables with no committed secrets.

Operational baseline

MongoDB health check, PM2 definition, and test deployment gate.

Before staging

Safe next steps

  1. Generate and commit the dependency lockfile from CI.
  2. Create the isolated wbg_web_test MongoDB user and database.
  3. Deploy the foundation to the private test environment.
Check service health