api-events/, port 4000) is the sole runtime for public HTTP, owns PostgreSQL DDL, and serves web, mobile, e2e, and MCP clients.
Use the current backend docs instead of this page for day-to-day work:
What changed
- Before: Go API (
api/,:8080) was system of record; api-events was notification fan-out only; dual schema parity (schema:parity) kept Go and TS Prisma mirrors aligned. - Now: api-events owns
src/db/schema.prisma, migrations, all REST endpoints, and direct Pub/Sub publication. A shared transactional outbox is not implemented; see the target workflow contract. The Go API tree is removed. No differential oracle or schema parity gate.
Local development (current)
Client base URLs
Contract gates (current)
Route inventory: the Encore endpoint declarations, with domains in
api-events/routes.json
Agent conventions for new endpoints: .agents/skills/encore-port/SKILL.md