How digitalservicebund/a2j-rechtsantragstelle works
Main System Components
a. Frontend Layer:
• Remix application components (/app/components)
• Domain-specific form flows
• Storybook UI component library
• Client-side validation and state management
b. Backend Layer:
• Express.js server
• Redis session storage
• PDF generation service
• CMS integration (Strapi)
• Security services
c. External Services:
• Strapi CMS (with staging/production environments)
• PostHog analytics
• Docker containerization
• Court finder service
┌─ Client Layer ─────────────────────────────────────┐
• React Components | Form Flows | Client Validation │
• ┘
• ↕ HTTP/REST
┌─ Application Layer ────────────────────────────────┐
• Remix Server | Route Handlers | Session Management │
• ┘
• ↕ Internal Services
┌─ Service Layer ──────────────────────────────────────┐
• PDF Generator | CMS Service | Security | Validation │
• ┘
• ↕ External APIs
┌─ External Services ────────────────────────────────┐
• Strapi CMS | Redis | PostHog | Docker Registry │
• ┘
Key Interactions to Highlight
a. Form Flow Processing:
• Path from client input through validation to session storage
• PDF generation flow
• Data persistence and state management
b. CMS Integration:
• Dual-environment setup (staging/production)
• Content delivery pipeline
• Locale handling (sg/de)
c. Security Layer:
• CSRF protection
• Rate limiting
• Cookie management
• Sanitization services
Additional Details
Specific annotations for:
• Domain-specific flows (Beratungshilfe, Fluggastrechte, etc.)
• Test coverage points (E2E, unit tests)
• Deployment pipelines
• Feature flag management
• Error handling paths