// system_architecture / industrial_dispatch_logic
Velder: Staff Management & Project Oversight Ecosystem
Business Challenge
Velder is a leader in medical gas infrastructure in Poland, but their daily operations required a modern digital tool. The client needed a comprehensive platform to manage hundreds of employees across various sites: from task assignment and execution tracking to automating HR processes (vacations, sick leaves) and providing workers with real-time access to project blueprints.
Architecture & Stack
We engineered an industrial-grade ecosystem that runs seamlessly on macOS, iPhone, Android, and Web . The system is built on Expo SDK 54 (React Native) , allowing for a single codebase across mobile and web platforms.
- › Frontend: React Native + React Web Support (100% TypeScript)
- › Backend: Firebase CDC (Firestore, Auth, Storage)
- › Logic: Google Cloud Functions for heavy background computations
- › MarkUp: PDF.js Engine with custom SVG-layer wrapper
- › Infrastructure: EAS (Expo Application Services) for OTA updates
Key Technical Modules
Field workers at construction sites or hospitals have direct access to technical PDF drawings. We integrated an interactive pins (pinezki) system: a worker can drop a marker on the plan, describe an issue or error, and attach photos. This allows the Director to see the real-time state of the site with centimeter precision.
Comprehensive task tracking. The Director creates tasks, assigns staff, and sets deadlines. Workers receive push notifications, confirm completion with photo evidence and comments. No critical action is lost in WhatsApp chats anymore.
Vacation and sick leave module. Employees apply for leave directly in the app. The system automatically checks available days, notifies the Director for approval, and generates ready-to-sign PDF documents, saving hours for the HR department.
The "Szybki raport" feature allows instant issue reporting. A worker takes a photo, it's compressed for traffic efficiency, and immediately appears on the Director's dashboard linked to the specific department or project.
Smart Calendar & WFM
The central management hub (based on react-native-calendars) coordinates the entire company. It accounts for Polish public holidays and Velder's internal schedule, visualizing team capacity months ahead.
- › Live Status: Director sees who is on-site and who is on leave in real-time.
- › HR Automation: Auto-generation of forms and applications based on user input.
- › Industrial Pushes: Reminder system ensuring critical equipment checks are never missed.
Data Integrity & Sustainability
To maintain high performance and low operational costs, we implemented several automated background processes:
The runWeeklyCleanup script automatically purges completed tasks and associated media older than 7 days, significantly reducing Firebase Storage costs.
Real-time image processing compresses all field photos to 50% quality before upload, ensuring reliable sync even on slow LTE/3G hospital basement connections.
System Oversight & Analytics
For the Director, we implemented a System Diagnostics Panel to monitor the infrastructure in real-time:
Real-time tracking of Firestore read/writes , Cloud Storage limits, and Push Notification delivery rates to ensure the ecosystem remains operational under heavy industrial load.
Instant access to the Digital Project Archive , providing a visual history of every hospital department’s technical state, accessible from any device for quick audits.
Role-Based Access Control (RBAC)
- Resource Guard: DB and cloud storage load monitoring
- Global Control: Hospital and department hierarchy management
- HR Analytics: Vacation approval and report review
- System Cleanup: Forced purging of obsolete data
- Task Runner: Execution of tasks with photo evidence
- Blueprint Markup: Real-time interaction with technical schemes
- Self-Service: Requests for materials and fuel
- Smart Snooze: Reminder management (5 min intervals)