⚠️ Project status: Early developmentThis project is part of the Hekatoncheiros platform and is under active development. APIs, features, and internal architecture are not yet stable and may change. This repository is not production-ready.
Platform kernel: auth, tenancy, app registry, licensing, events.
- Start Postgres:
docker compose up -d- Set env:
cp .env.example .env- Migrations + seed:
npm run db:migrate
npm run db:seed- Run the API:
npm run devAPI runs at http://localhost:3000/api/v1 and the Swagger UI at http://localhost:3000/docs.
npm run dev– dev servernpm run build– TS buildnpm run start– start fromdistnpm run db:migrate– apply migrationsnpm run db:seed– seed base datanpm run codegen:openapi– generate types from OpenAPI
- The tenancy resolver is currently
HeaderTenantResolver(headerx-tenant-id). - DB-per-tenant is prepared as an interface, but the MVP uses a shared DB.
- JWT tokens are verified using the shared
JWT_SECRET.