← Back to Portfolio★ Featured Project
IoT / SaaS Platform

Fleetium

Multi-tenant B2B2C fleet tracking platform with real-time GPS monitoring, trip management, geofencing, and advanced analytics. Tracks 2,000+ vehicles with sub-100ms WebSocket latency.

● Production — Fly.io 💻 pnpm Monorepo 🌐 tracking.fleetium.com 👤 Built by Telematik
2,000+
Vehicles Tracked
80+
Database Tables
150+
Performance Indexes
<100ms
WebSocket Latency
3
Fly.io Services

System Architecture

📡

UDP Gateway

Real-time GPS data ingestion from IoT devices. Binary protocol parsers for BCE (Xirgo FMS500) and Novatel MT3060 MiFi. Checksum validation, IMEI whitelist auth, telemetry extraction.

Node.js 20TypeScriptUDP SocketsRedis Pub/SubFly.io

Worker Service

Background job processing: FTP polling for OLA Energy fuel data (every 15 min), alert rule evaluation (every 5 min), Redis event subscriptions, Excel file parsing.

node-cronSFTP ClientRedis SubscriberFly.io
🌐

Frontend

Web app for fleet managers. Real-time tracking map, trip analytics, geofencing, device management, RBAC, multi-language (EN/AR/FR).

Next.js 15React 19shadcn/uiMapLibre GLSocket.ioNextAuth.js
🗃

Database Package

Shared Prisma client with 80+ tables, monthly partitioning for positions, PostGIS spatial queries, soft delete with 90-day recovery.

PostgreSQL + PostGISPrisma 6Neon.techGIST Indexes

Platform Gallery

Dashboard & Fleet Overview
Dashboard with mileage/speed charts & fleet overview
Live Map Tracking
Live map tracking with real-time vehicle positions
Trip History Table
Trip history — table view with detailed stats
Trip History Cards
Trip history — card view with professional trip cards

Key Features

Real-Time Tracking

5-second GPS updates from 2,000+ devices. Live map with marker clustering. WebSocket broadcasting <100ms latency.

Multi-Tenant Architecture

Platform → Resellers → Customers → Users. Complete data isolation with RBAC.

Smart Trip Management

Auto start/stop detection, trip merging, places categorization, schedules, privacy mode.

Geofencing & Alerts

Time-conditional geofences, enter/exit detection, speeding with OSM speed limits, 5-min evaluation.

Advanced Analytics

Drive Score, fuel reconciliation, professional vs. private mileage, first start report.

IoT Protocol Parsers

BCE (Xirgo FMS500) and Novatel MT3060 binary protocols. Telemetry: ignition, fuel, RPM, odometer.

Maintenance & Work Orders

Mileage + time-based reminders. Full lifecycle work order tracking.

Fuel Management

OLA Energy FTP integration. Excel parsing for transactions. Consumption vs. card reconciliation.

Multi-Language

English, Arabic (RTL), French. next-intl throughout the frontend.