Reelevator – Subsequent-Technology Multi-Tenant Raise & Elevator Administration System | Subsequent.js, PostgreSQL
Mission Overview
Reelevator is a complete, enterprise-grade elevator administration system designed to revolutionize
constructing upkeep operations. Constructed with Subsequent.js 16, React 19, and Prisma ORM with PostgreSQL,
this platform offers real-time monitoring, predictive upkeep, and superior analytics powered
by IoT sensors and digital twin expertise.
The system serves a number of stakeholders together with constructing house owners, service companies, contractors,
suppliers, and technicians via a complicated role-based entry management (RBAC) system with
7 distinct consumer roles.
Core Expertise Stack
- Framework: Subsequent.js 16.0.3 with React 19.2.0
- Language: TypeScript 5
- Database: PostgreSQL with Prisma ORM 7.0.0
- Authentication: NextAuth.js 4.24.13 with JWT and bcrypt
- UI Framework: Radix UI elements with Tailwind CSS 4.1.17
- State Administration: TanStack React Question 5.90.10
- Kind Dealing with: React Hook Kind with Zod validation
- Charts & Analytics: Recharts 3.5.1
- Media Administration: Cloudinary (next-cloudinary)
- Notifications: Sonner toast notifications
- Analytics: Vercel Analytics
Key Options
1. Reside Telemetry & IoT Integration
Actual-time monitoring of elevator efficiency via IoT sensor integration. Observe stay knowledge
together with ground place, pace, route, load weight, vibration, temperature, and door standing.
Telemetry occasions are captured and analyzed for anomaly detection.
2. Digital Twin Expertise
Digital replicas of bodily elevators for superior simulation, evaluation, and predictive modeling.
Every elevator can have a 3D mannequin illustration with real-time knowledge synchronization.
3. Predictive Upkeep (PM Plans & Duties)
AI-powered upkeep scheduling system that forestalls breakdowns earlier than they happen. Automated
preventive upkeep plans with configurable frequency, job scheduling, and completion monitoring.
Helps PREVENTIVE, CORRECTIVE, EMERGENCY, and INSPECTION upkeep sorts.
4. Well being Monitoring & Element Monitoring
Complete part well being monitoring with vibration evaluation, temperature monitoring, put on
share calculation, and failure rating prediction. Maintains full part alternative
historical past with components monitoring and technician attribution.
5. Ticketing & Job Task System
Full-featured ticket administration with precedence ranges (LOW, MEDIUM, HIGH, CRITICAL) and standing
monitoring (OPEN, IN_PROGRESS, RESOLVED, CLOSED, CANCELED). Automated job assignments to technicians
with scheduling, route optimization, and completion monitoring.
6. Upkeep Contract Administration (AMC)
Annual Upkeep Contract (AMC) administration with three contract sorts: BASIC, PREMIUM, and
FULL_CARE.
Automated bill technology, cost monitoring, and contract renewal administration. Built-in with
PM plans for automated upkeep scheduling.
7. SLA Monitoring & Compliance
Automated Service Stage Settlement monitoring with first response time and determination time metrics.
SLA compliance reporting and alerts for contract efficiency monitoring.
8. QR Code Integration
Fast entry to elevator info and upkeep historical past through QR codes. Every elevator can have
distinctive QR codes for immediate entry to service information, part particulars, and ticket creation.
9. Stock & Spare Components Administration
Full spare components stock system with inventory monitoring, reorder degree alerts, SKU administration,
and site monitoring. Built-in buy order system with provider administration and order standing
monitoring (PENDING, ORDERED, RECEIVED, CANCELED).
10. Multi-Stakeholder Position-Primarily based Entry Management (RBAC)
Refined permission system with 7 consumer roles:
- SUPER_ADMIN: Full system entry and management
- ADMIN: Administrative entry with some restrictions
- AGENCY: Company-level administration for shopper buildings and contractors
- CONTRACTOR: Contractor and technician crew administration
- TECH: Subject technician function with cell entry
- SUPPLIER: Spare components and stock administration
- CUSTOMER: Constructing proprietor with monitoring and ticket creation
11. Company & White-Label Assist
Multi-tenant structure supporting service companies with customized branding (brand, colours, theme,
customized CSS), agency-specific settings (timezone, language, auto-assignment guidelines), and contractor
administration capabilities.
12. Analytics Dashboard
Complete insights and reporting with interactive charts powered by Recharts. Knowledge-driven
resolution making via efficiency metrics, failure predictions, and upkeep developments evaluation.
13. Sensible Notifications System
Actual-time push notifications for essential occasions, upkeep necessities, ticket updates, and
job assignments. Cellular system registration for push token administration throughout iOS and Android
platforms.
14. Audit Logging
Full audit path of all system actions with consumer attribution, entity monitoring, and detailed
change logs. SUPER_ADMIN unique entry for safety and compliance.
15. Multi-Constructing Administration
Centralized administration of a number of buildings throughout totally different areas with metropolis, state, nation,
and postal code monitoring. Constructing-level contract and elevator grouping.
Database Structure
The system makes use of a complete PostgreSQL database with 30+ interconnected fashions:
Authentication & Customers
- Consumer, Account, Session, VerificationToken
- 7 consumer roles with granular permissions
Buildings & Elevators
- Constructing, Elevator (6 sorts: TRACTION, HYDRAULIC, MRL, FREIGHT, HOSPITAL, DUMBWAITER)
- ElevatorComponent, ComponentHealth, ComponentReplacementHistory
- DigitalTwin for digital elevator replicas
IoT & Monitoring
- IoTSensor, LiveTelemetry, TelemetryEvent
- HealthReport with failure rating prediction
Upkeep & Contracts
- MaintenanceContract (BASIC, PREMIUM, FULL_CARE)
- Bill, PMPlan, PMTask
- MaintenanceLog (4 sorts: PREVENTIVE, CORRECTIVE, EMERGENCY, INSPECTION)
Tickets & Jobs
- Ticket with 4 precedence ranges and 5 standing states
- JobAssignment with route optimization
Stock & Provide Chain
- SparePart, Provider, SupplierPart
- PurchaseOrder with standing monitoring
Multi-Tenancy
- Company, AgencySetting, AgencyBranding
- Contractor for crew administration
System Options
- QRCode for fast entry
- SLARecord for compliance monitoring
- AuditLog for safety
- MobileDevice for push notifications
- UserNotification for alerts
API Structure
RESTful API with versioned endpoints below /api/v1/:
- Authentication: /api/auth/[…nextauth]
- Buildings & Elevators: buildings, elevators, elevator-components
- Monitoring: iot-sensors, live-telemetry, telemetry-events, health-reports,
component-health - Upkeep: maintenance-contracts, maintenance-logs, pm-plans, pm-tasks
- Tickets & Jobs: tickets, job-assignments
- Stock: spare-parts, suppliers, supplier-parts, purchase-orders
- Digital Twins: digital-twins
- QR Codes: qr-codes
- Compliance: sla-records, invoices
- Multi-Tenancy: companies, agency-settings, agency-branding, contractors
- System: audit-logs, user-notifications
- Media: cloudinary (picture/video uploads)
Consumer Dashboards
Position-specific dashboards with tailor-made interfaces:
- Admin Dashboard: System-wide administration and analytics
- Company Dashboard: Shopper and contractor administration
- Buyer Dashboard: Constructing and elevator monitoring
- Contractor Dashboard: Workforce and job administration
- Tech Dashboard: Cellular-optimized job completion interface
- Provider Dashboard: Stock and order administration
- Workers Dashboard: Basic employees operations
Safety Options
- JWT-based authentication with safe session administration
- Password hashing with bcryptjs
- Position-based entry management with granular permissions
- Middleware-based route safety
- Audit logging for all essential operations
- E mail verification system
- Password reset performance
Cellular & Subject Assist
- Cellular system registration and administration
- Push notification assist (iOS & Android)
- QR code scanning for fast elevator entry
- Offline-capable job task monitoring
- Route optimization for technician dispatch
Deployment & Infrastructure
- Node.js: >=20.0.0
- NPM: >=10.0.0
- Database: PostgreSQL with Prisma migrations
- Internet hosting: Optimized for Vercel deployment
- Atmosphere: Manufacturing-ready with surroundings variable configuration
Growth Options
- TypeScript for sort security
- Prisma ORM with type-safe database queries
- Database seeding assist (tsx prisma/seed.ts)
- Scorching module alternative in improvement
- ESLint for code high quality
- Automated Prisma shopper technology
- Migration deployment scripts
Use Instances
Constructing House owners
Monitor all elevators throughout a number of properties from a single dashboard. Observe efficiency metrics,
schedule upkeep, guarantee regulatory compliance, and obtain on the spot alerts for essential points.
Service Businesses
Handle elevator companies for a number of shoppers with complete instruments for scheduling, reporting,
contractor coordination, and white-label branding. Observe SLA compliance and generate efficiency
experiences.
Contractors
Streamline upkeep operations with automated job assignments, technician administration, route
optimization, and cell entry for discipline groups. Observe job completion and components utilization.
Suppliers
Handle spare components stock, monitor buy orders, coordinate deliveries with upkeep groups,
and keep supplier-specific half catalogs with pricing and lead occasions.
Technicians
Entry job assignments on cell units, scan QR codes for elevator info, log upkeep
actions, document part replacements, and replace job standing in real-time.
Mission Construction
- /app: Subsequent.js app listing with pages and API routes
- /components: Reusable UI elements organized by function
- /lib: Utilities, authentication, database, and validation logic
- /prisma: Database schema and migrations
- /public: Static property
- /docs: Documentation together with RBAC permissions matrix
Distinctive Promoting Factors
- Digital Twin Integration: First-of-its-kind digital elevator replicas for
predictive evaluation - IoT-Powered Monitoring: Actual-time telemetry with anomaly detection
- Multi-Tenant Structure: White-label assist for service companies
- Complete RBAC: 7 distinct roles with granular permissions
- Predictive Upkeep: AI-powered failure prediction and prevention
- Cellular-First Design: Optimized for discipline technicians
- Full Provide Chain: Finish-to-end stock and procurement administration
- SLA Compliance: Automated monitoring and reporting
Goal Industries
- Industrial Actual Property Administration
- Residential Property Administration
- Hospital & Healthcare Services
- Resort & Hospitality
- Buying Malls & Retail Facilities
- Company Workplace Buildings
- Elevator Service & Upkeep Corporations
- Elevator Components Suppliers
Model: 0.1.0
License: Non-public
Constructed with: Subsequent.js, React, TypeScript, Prisma, PostgreSQL, TailwindCSS

