ErgoSolutions
Django platform to manage workplace training, PDF certificates, corporate payrolls, and AI assistance in ergonomics and occupational health.
Project Description
ErgoSolutions is a web platform developed with Django for Safety & Hygiene, Occupational Health, and Ergonomics professionals. It centralizes the management of both online and in-person workplace training, featuring distinct workflows for professionals, companies, and workers.
The architecture is organized into decoupled Django apps: accounts for multi-role authentication, dashboard for the back office, training for modules and shareable links, quiz for evaluations with attempt rules, certificates for issuing PDF certificates, presencial for in-person sessions, company for corporate profiles, payrolls, scheduling, and professional contacts, and ergobot_ai for the conversational assistant.
The system allows users to create training modules, share public access via links, register workers using national tax IDs (CUIL) or emails, take quizzes with immediate feedback, enforce 24-hour business-rule locks, issue PDF certificates with one-year validity, and automatically email them to the worker, employer, Safety & Hygiene manager, and administrator. For companies, it incorporates a corporate profile, worker payrolls, CSV exports, expiration calendars, automatic event generation for upcoming certificate expirations, a directory of professionals, and contact request workflows.
AI plays a dual role in both the product and development. As a product feature, Ergobot utilizes the OpenAI API and OpenAI Agents SDK with SSE streaming to answer contextualized inquiries based on the training module, leveraging canonical Markdown content, reading materials, and transcripts. As an engineering asset, the project was built following a commit-by-commit roadmap, with AI assistance for technical planning, refactoring, testing, and incremental documentation.
The frontend utilizes Bootstrap 5, Bootstrap Icons, dark mode, and dashboard components. The deployment is production-ready, featuring environment variables, PostgreSQL, WhiteNoise for static files, ASGI/Uvicorn, and an Ubuntu VPS runbook equipped with Gunicorn, systemd, Nginx, static/media asset handling, and Let's Encrypt SSL.
Problem Solved
The project addresses the need to digitalize and audit mandatory workplace training in ergonomics and risk prevention. Previously, these processes typically relied on manual spreadsheets, informal follow-ups, scattered certificates, and a lack of traceability between the worker, the company, and the health professional. The platform integrates training, evaluation, certification, payroll management, expiration calendars, and AI assistance into a single unified workflow, reducing administrative overhead and improving document control for occupational health compliance.
Key Features
- Multi-role authentication tailored for professionals, companies, and workers.
- Distinct dashboards based on user type.
- ErgoSolutions public institutional landing page.
- Registration and login for healthcare and safety professionals.
- Corporate registration and login featuring an editable CompanyProfile.
- Worker access verified via national tax ID (CUIL) and email.
- Training modules supporting Markdown content, video, and transcription data.
- Online training distributed through shareable links.
- Access tracking for shared training links.
- Automated emailing of training links.
- In-person training sessions featuring video materials, AI chat assistance, and group quizzes.
- PDF attendance sheet generation for physical, in-person sessions.
- Online quizzes consisting of 10 questions with immediate feedback and scoring.
- Business rules for passing thresholds (minimum score of 8/10 required).
- Attempt limits and 24-hour retake locks on failed quizzes.
- Automated generation of PDF certificates.
- Secure certificates featuring unique UUIDs, protected downloads, and a one-year validity period.
- Automated certificate distribution via email to the worker, employer, Safety & Hygiene manager, and administrator.
- Ergobot AI integration utilizing the OpenAI Agents SDK and SSE streaming.
- Dynamic system prompting driven by the active module's context.
- Editable professional profiles capturing medical/professional license numbers and specialties.
- Editable company profiles tracking corporate tax IDs (CUIT), legal company names, industry sectors, and contact persons.
- Corporate worker payroll management.
- Manual worker onboarding capabilities for corporate managers.
- Individual worker files displaying comprehensive history of quizzes and certificates.
- Workplace data management, including sector, job position, and employment status.
- Payroll data export to CSV format.
- Corporate agenda equipped with events, priority levels, status tracking, and dynamic filtering.
- Full CRUD capabilities for calendar and agenda events.
- Automated event creation triggered by upcoming certificate expirations.
- Corporate dashboard metrics covering payroll stats, training coverage, and expiration alerts.
- Directory of professionals searchable by registered business entities.
- Business-to-professional contact request workflows.
- Automated test suite covering authentication, dashboards, training modules, payroll, calendar events, and public links.
- Production-ready environment configuration optimized for PostgreSQL, WhiteNoise, Gunicorn, Nginx, and environment variables.
Technical Details
Links
Are you interested in this solution?
I can design and develop a similar system adapted 100% to your company's operations and size.
Request Pricing