How bcgov/myss works
My Self Serve provides online access to BC income and disability assistance. Its product spans a web client, API, and Strapi content service; the API also supports forms, attachments, eligibility, bus-pass submissions, and an intake/review workflow. For review, the shown path is worker request → controller → review service, which reads intake data and event history and retrieves the form version. The API’s bus-pass integration reaches the separate ICM middleware. Edges are limited to README statements and shown source/index references; unsampled wiring is not asserted.
Main entry points: ReviewService.cs Review decisions · App.tsx Web application · Program.cs HTTP API · ReviewApplicationsController.cs Review endpoints
Components 22
Web client
- Web application
Apps/MyssWebclient/src/App.tsx - Forms and intake UI
Apps/MyssWebclient/src/widgets/intake/ApplicationForm.tsx - Worker review UI
Apps/MyssWebclient/src/widgets/review/ReviewApplication.tsx
MySS API
- HTTP API
Apps/MyssApi/Program.cs - Form management
Apps/MyssApi/Services/FormsService.cs - Attachment handling
Apps/MyssApi/Services/AttachmentsService.cs - Bus-pass submission
Apps/MyssApi/Services/BusPassSubmissionService.cs - Eligibility rates
Apps/MyssApi/Providers/StrapiEligibilityRateProvider.cs
Application workflow
- Intake endpoints
Apps/MyssApi/Controllers/Intake/IntakeApplicationsController.cs - Review endpoints
Apps/MyssApi/Controllers/Intake/ReviewApplicationsController.cs - Review decisions
Apps/MyssApi/Services/Intake/ReviewService.cs - Application answers
Apps/MyssApi/Data/Intake/ApplicationAnswers.cs - Intake database
Apps/MyssApi/Data/Intake/IntakeDbContext.cs - Application event store
Apps/MyssApi/Services/Platform/EventStore.cs
Content service
- Form specifications
Apps/MyssContent/src/api/form-spec/services/form-spec.ts - Eligibility rate content
Apps/MyssContent/src/api/eligibility-rate/services/eligibility-rate.ts
ICM integration
- ICM bus-pass endpoint
Apps/IcmApi.Host/Controllers/BusPassController.cs - ICM workflow submitter
Apps/IcmApi.Host/Services/IcmBusPassSubmitter.cs - ICM client library
Apps/IcmApi/Services/BusPassService.cs - OAuth token service
Apps/IcmApi/Services/OAuthTokenService.cs - OAuth token repository
Apps/IcmApi/Repositories/OAuthTokenRepository.cs
Other components
- Resident or worker
Connections 17
- Resident or worker → Web application: uses
- Web application → HTTP API: calls API
- Forms and intake UI → Web application: renders within
- Worker review UI → Web application: renders within
- HTTP API → Intake endpoints: routes requests
- HTTP API → Review endpoints: routes requests
- Review endpoints → Review decisions: calls
Apps/MyssApi/Controllers/Intake/ReviewApplicationsController.cs - Review decisions → Intake database: reads answers
Apps/MyssApi/Services/Intake/ReviewService.cs - Review decisions → Application event store: loads and appends events
Apps/MyssApi/Services/Intake/ReviewService.cs - Review decisions → Form specifications: retrieves form version
Apps/MyssApi/Services/Intake/ReviewService.cs - Intake database → Application answers: stores
Apps/MyssApi/Data/Intake/IntakeDbContext.cs - Form specifications → Form management: serves form specifications
- Eligibility rate content → Eligibility rates: provides rates
- Bus-pass submission → ICM bus-pass endpoint: submits over HTTP
- ICM bus-pass endpoint → ICM workflow submitter: delegates submission
Apps/IcmApi.Host/Controllers/BusPassController.cs - ICM workflow submitter → ICM client library: uses client
- OAuth token service → OAuth token repository: requests token
Apps/IcmApi/Services/OAuthTokenService.cs