Modular-monolith Platform control plane for the first Open Game Data vertical slice:
Sign in -> create Organization -> create Game -> set Game governance state
-> enroll Pipeline service -> show Pipeline setup state -> view Game overview
This repository is the Open Game Data reference Platform implementation. The Platform owns shared identity, Organizations, Games, governance state, generic service enrollment, audit, and outbox records. Pipeline-specific resources such as telemetry, integrations, environments, logging specs, generators, and datasets stay out of this codebase.
- Copy
.env.exampleto.env.localand fill in Postgres plus GitHub and Google SSO values. Generic OIDC remains optional. - Install dependencies with
npm install. - Run
npm run prisma:migrate. - Run
npm run prisma:seed. - Start the app with
npm run dev.
Gameis the initial Platform governance and service-enrollment scope.- Pipeline participation is represented by
ServiceDefinitionandServiceEnrollment. service_enrollments.idis the stable downstream handoff ID.- A future Project migration can add nullable
project_idtoservice_enrollmentswithout recreating existing Pipeline resources.
- GitHub OAuth app callback:
http://localhost:3000/api/auth/callback/github - Google OAuth client redirect URI:
http://localhost:3000/api/auth/callback/google - Optional generic OIDC callback:
http://localhost:3000/api/auth/callback/oidc