Support Context

User & Onboarding

Live deployment demo: this view was updated for the acceptance walkthrough.

Manages registration, invitations, team assignment, and release to start the game.

Get new players into a team quickly and allow only valid, game-ready accounts to enter the scavenger hunt.

Service version: df8ec6b0f8e516bfbeaa5cdfbc761272d2c7ad6f

2 Players in the MVP
2 Teams available
2 Invitations in the flow

Summary

Compact domain status for the supporting context.

Summary API

Players

Shows registered players with team and status information.

Players API

Teams

Shows available teams with capacity and current status.

Teams API

Invites

Shows invitations as part of the onboarding aggregate.

Invites API

Flow

Explains the flow from registration to activation.

Flow API

Observability

Shows business metrics for registration, activation, invites, teams, and degree programs.

Open dashboard
Use The MVP

Register

Account

Login / Status

Fast Demo

Complete onboarding

Result

API response

Use a form to see the response here.
Kafka Event

Publish degree program selection

Register the email first, then publish a DegreeProgramSelected.v1 domain event.

Result

Broker response

The published event will appear here.
Players

Lea

lea@campus.example

Degree program: Computer Science

Team: Red Fox

Status: ACTIVE

Next step: READY_TO_PLAY

Noah

noah@campus.example

Degree program: Media Informatics

Team: UNASSIGNED

Status: INVITED

Next step: ACCEPT_INVITE

Teams

Red Fox

Members: 4/5

Status: OPEN

Blue Owl

Members: 3/5

Status: OPEN

Onboarding Flow

PlayerOnboarding Aggregate

  • Player registers
  • Invitation is accepted
  • Team is assigned
  • Account is activated
  • Game can be started
Policies
  • A player can only be assigned to a team after accepting an invitation.
  • A team can contain at most 5 members in the MVP.
  • Only active players are allowed to start the game.
Responsibility

What this context decides

  • Register players
  • Validate invitations and team joins
  • Manage teams up to the MVP capacity
  • Release the game start only for active accounts
Read Models

What it provides to the UI

  • PlayerOverview
  • TeamCapacity
  • OnboardingStatus
Demo Command

Complete MVP flow

Creates a player, accepts the invite, assigns a team, activates the account, and publishes the domain events.

POST /api/onboarding/demo/complete
{
  "name": "Mia",
  "email": "mia@campus.example",
  "password": "secret123",
  "degreeProgram": "Computer Science",
  "teamId": "TEAM-BLUE"
}
Step-by-step Commands

Use the aggregate directly

  • POST /api/onboarding/register
  • POST /api/onboarding/invites/INV-5002/accept
  • POST /api/onboarding/teams/assign
  • POST /api/onboarding/players/USR-102/activate
Back to home