- type
- summary
- created
- Mon Apr 06 2026 02:00:00 GMT+0200 (Central European Summer Time)
- updated
- Mon Apr 06 2026 02:00:00 GMT+0200 (Central European Summer Time)
- sources
- raw/notes/systemPatterns
- tags
- architecture patterns
Summary: System Patterns
abstract
Architecture decisions and coding patterns for UnitCycle: Angular 19 standalone components, Django managed=False models, companion tables, signals-based state, and the Navy+Gold design system.Key Points
- Architecture: Angular SPA → server.js :4400 → PostgreSQL 17, with Django DRF :3001 as secondary API
- Frontend: Standalone components, OnPush, signals,
@if/@for/@switch, Tailwind + 208 CSS vars - Backend:
managed=Falseon Yardi models, companion table pattern for extensions - Auth: Three different auth systems (PM mock, Tenant mock, Maintenance real API via PortalUser + JWT)
- AI: Claude API for generation, LlamaParse for PDF, Celery for scheduled tasks, SSE for streaming
- Testing: Playwright E2E, screenshots mandatory before feature is "done"
- Design: Gold for positive, red for danger, no semantic green, zero hardcoded hex