Workforce Management
Responsibility
Section titled “Responsibility”Companies, Projects, Profiles, Licenses, Audit Logs. This is the core operational domain of the Angelis platform — it manages workers, supervisors, managers, and company administrators, providing real-time safety test monitoring, compliance tracking, and administrative management capabilities.
Key Entities
Section titled “Key Entities”- Company: Organization using the platform
- Profile: Worker personal information (name, RUT, contact details)
- ProfileCompany: Links workers to companies with reporting hierarchy (supervisor relationships)
- Assignment: Contract linking company, project, and worker
- Project: Work site or “faena”
- License: Worker certifications/licenses
- Subscription: Company’s product subscriptions
- InternalUser: Company administrators and managers
- Notification: Real-time user notifications
Tech Stack
Section titled “Tech Stack”- FastAPI (Python) — core business logic and API endpoints
- SQLAlchemy 2.0 (ORM) with PostgreSQL as primary database
- MSSQL (via pyodbc) for SaferApp test results
- MySQL for Fit2000 test results
- Redis for caching and OTP storage
- Azure Blob Storage for report files (PDF/CSV) and profile images
Internal structure follows Router → Service → Repository pattern, with all services injected via FastAPI Depends().
Integrations
Section titled “Integrations”- Identity & Access (ACL) — all requests are authenticated and authorized via the CIAM service and Keycloak
- Analytics & Reporting — sends data to the reporting context for dashboards, PDF/CSV exports
- Notifications — triggers notifications for key events (assignments, compliance alerts)
- Azure Blob Storage — uploads generated reports and profile images
- Redis — OTP storage and caching