How dfe-digital/register-early-career-teachers-public works
This is the Register Early Career Teachers service: schools register and manage early career teachers (ECTs) and mentors, while appropriate bodies record induction activity; administrators oversee records and funding, and lead providers integrate through an API. The graph groups those user-facing domains around the Rails request entry point and shared domain records. Sampled code confirms route dispatch, session handling and an admin induction-period controller’s teacher lookup; most feature wiring is inferred only at subsystem level from the tree, so uncertain service-to-service links are omitted.
Main entry points: routes.rb Rails routes · v3 Version 3 endpoints · induction_periods_controller.rb Induction period edits · schools School registrations
Components 23
Application entry
- Rails routes
config/routes.rb - Sign-in sessions
app/controllers/sessions_controller.rb - Session manager
app/services/sessions/manager.rb
School workflows
- School registrations
app/controllers/schools - ECT and mentor management
app/controllers/schools
Appropriate bodies
- Induction workflows
app/controllers/appropriate_bodies - Review and claim tasks
app/controllers/appropriate_bodies/tasks_controller.rb - Batch processing
app/jobs/appropriate_bodies/process_batch_job.rb
Administration
- Teacher administration
app/controllers/admin/teachers_controller.rb - School administration
app/controllers/admin/schools_controller.rb - Finance and statements
app/controllers/admin/finance - Induction period edits
app/controllers/admin/induction_periods_controller.rb
Provider API
- Version 3 endpoints
app/controllers/api/v3 - API operations
app/services/api - API serializers
app/serializers/api
Shared domain
- Teacher records
app/models/teacher.rb - Induction periods
app/models/induction_period.rb - School partnerships
app/models/school_partnership.rb - Declarations and statements
app/models/declaration.rb
Other components
- School users
- Appropriate body users
- Administrators
- API clients
Connections 23
- Rails routes → Sign-in sessions: routes sign-in
- Sign-in sessions → Session manager: manages session
- Rails routes → School registrations: draws school routes
- Rails routes → Induction workflows: draws AB routes
- Rails routes → Teacher administration: draws admin routes
- Rails routes → Version 3 endpoints: draws API routes
- School users → School registrations: submits registrations
- School users → ECT and mentor management: manages teachers
- Appropriate body users → Induction workflows: records induction
- Appropriate body users → Review and claim tasks: reviews tasks
- Induction workflows → Batch processing: queues processing
- Administrators → Teacher administration: manages records
- Administrators → School administration: manages schools
- Administrators → Finance and statements: reviews payments
- Administrators → Induction period edits: edits periods
- Induction period edits → Teacher records: loads teacher
- Induction period edits → Induction periods: loads period
- API clients → Version 3 endpoints: calls API
- Version 3 endpoints → API operations: delegates operations
- Version 3 endpoints → API serializers: formats responses
- ECT and mentor management → Teacher records: manages records
- School registrations → School partnerships: manages partnerships
- Finance and statements → Declarations and statements: reviews declarations