Lyfe-Cloud — Sovereign Backend
Deploy the Lyfe-Cloud runtime on infrastructure you own. Bring your own Postgres. No telemetry, no lock-in.
What Lyfe-Cloud is
A minimal Hono/Node API that handles auth, sessions, and billing hand-off. Runs on Fly, Railway, Render, or bare metal. Ships with a Postgres schema you can inspect.
Environment
The frontend only needs VITE_API_URL. The server side needs DATABASE_URL, SESSION_SECRET, and processor keys.
VITE_API_URL=https://api.yourdomain.com
DATABASE_URL=postgres://...
SESSION_SECRET=change-meEndpoints
POST /auth/signup, POST /auth/login, GET /auth/me, POST /billing/checkout, GET /billing/session/:id. All session state lives in httpOnly cookies. See SOVEREIGN_STACK.md in the repo for the full contract.