Back to Web Projects
WebBackend

Caesyon Account Platform

BackendBrand-scoped account backend for the Caesium Games sites and games: identity, consent, Steam ownership and rewards.

Caesyon is the API behind the Caesium Games player accounts: identity and authentication, consent tracking, Steam ownership checks, game editions, privacy requests and cross-game rewards. It is API-first and typed end-to-end.

  • API
  • Authentication
  • Accounts
Caesyon Account Platform - Screenshot 1

Overview

Caesyon is the API behind the Caesium Games player accounts: identity and authentication, consent tracking, Steam ownership checks, game editions, privacy requests and cross-game rewards. It is API-first and typed end-to-end.

The stack is Fastify 5 with strict TypeScript, Drizzle ORM on PostgreSQL 16, better-auth, Zod schemas that generate an OpenAPI 3.1 specification and a typed client SDK, pino logging and Vitest with Testcontainers. It ships as multi-architecture Docker images and runs on a Raspberry Pi as well as in the cloud.

Features

  • Fastify 5 and strict TypeScript, contract-first with Zod to OpenAPI 3.1
  • PostgreSQL 16 with Drizzle migrations and a transactional outbox worker
  • better-auth with passkeys, transactional email through Resend
  • CI-built multi-architecture Docker images, one-command deploy with automatic rollback