Business Management Platform
Exposaas | Enterprise Vehicle Management System
Exposaas is an enterprise-grade vehicle management platform that streamlines the complete vehicle lifecycle - from auction acquisition to customer sales, payment tracking, and automated invoice generation. Built with multi-tenant architecture and real-time collaboration features.

Project Overview
Exposaas is a comprehensive vehicle management system developed at DnDsol Software House that transforms how automotive dealerships and vehicle businesses operate. The platform eliminates manual processes, reduces errors, and provides real-time visibility across all operations.
The system manages the complete vehicle lifecycle: tracking vehicles from auction purchase with lot numbers, assigning to customers, managing installment payments, generating professional PDF invoices, and maintaining complete document trails. Every action is tracked with full audit capabilities.
Built with a sophisticated multi-tenant architecture, Exposaas allows multiple companies to operate independently on the same platform with complete data isolation. Role-based access control ensures team members have appropriate permissions, while real-time WebSocket notifications keep everyone informed instantly.
The platform includes advanced features like background job processing for resource-intensive operations (PDF generation, bulk notifications), Redis caching for optimal performance, and Azure Blob Storage integration for secure document management. The system was designed from day one to scale, handling thousands of vehicles across multiple companies without performance degradation.
Key Features
Challenges
- Designing a scalable multi-tenant database schema with proper isolation while maintaining relationships
- Handling resource-intensive PDF generation without blocking the UI or causing timeouts
- Implementing real-time notifications across multiple concurrent user sessions with WebSocket
- Managing complex payment workflows with installments, confirmations, and automated invoice generation
- Ensuring data integrity with cascade rules while preventing accidental data loss
- Optimizing database queries for large datasets with proper indexing strategies
- Building a flexible role-based permission system that scales across multiple companies
- Integrating Azure Blob Storage for secure document handling with proper access control
- Managing background worker processes alongside the main Next.js application
- Implementing proper connection lifecycle management for WebSocket connections
Solutions
- Designed a comprehensive PostgreSQL schema with company-level isolation using composite unique constraints and proper foreign key relationships
- Implemented pg-boss job queue system for background processing of PDF invoices and notifications, with retry logic and job tracking
- Built a dedicated WebSocket server with authentication, heartbeat mechanism, and automatic reconnection handling
- Created an automated workflow: payment confirmation → queue invoice job → generate PDF → upload to Azure → notify user via WebSocket
- Utilized Prisma ORM for type-safe database queries, automatic migrations, and relationship management
- Implemented Redis caching strategy for session management and frequently accessed data, reducing database load by 60%
- Developed a hierarchical permission system with role-permission mapping at the company level
- Containerized the entire stack with Docker for consistent development and production environments
- Used concurrent processes with separate workers for vehicles, invoices, and WebSocket server
- Built custom React hooks (useAuth, wsClient) for state management and WebSocket communication
Results & Impact
performance
Invoice generation reduced from 20-30 minutes to under 5 seconds
scalability
Successfully handles 100+ concurrent users across multiple companies
efficiency
Eliminated 99% of manual calculation errors, saved 20+ hours weekly per company
data Integrity
Zero data integrity issues with comprehensive audit trails
reliability
99.9% job completion rate for background processes
user Experience
Real-time notifications delivered in <100ms, responsive UI with no blocking operations
Project Info
Client Type
DnDsol Software House - Enterprise Client
Duration
3 months
My Role
Full Stack Developer
Team Size
Solo Development
Technologies Used
Tags