PropObligate is an enterprise-grade commercial property and obligation operating system designed for real estate owners, asset managers, and facility operators.
Managing commercial complexes, office buildings, high-street retail shops, and co-working spaces involves continuous high-stakes obligations: tracking multi-month lease arrears, annual rent escalations, Common Area Maintenance (CAM) reconciliations, sub-meter utility splits, tenant KYC compliance, and contractor work orders.
PropObligate functions as the owner's automated operational memory:
"You never have to guess what needs to be paid, collected, renewed, escalated, or inspected. The cockpit tells you proactively."
Traditional property management software forces operators through tedious nested pages (Property → Floor → Room → Bed → Tenant). PropObligate treats the commercial shop or bed slot as the atomic visual unit on a single, high-contrast spatial visualizer.
- Real-Time Status Scanning: Each space displays instant semantic state pills:
● Paid,● Overdue,● Notice, or+ Vacant. - 440px Slide-Over Inspector Drawer: Clicking any unit opens a right-hand inspection drawer displaying tenant contacts, month-by-month billing passbooks, monotonic meter logs, and 1-click WhatsApp reminders without unmounting the canvas.
- Automated Vacant Provisioning: Creating a new commercial asset automatically generates all floor-mapped vacant units with custom square footages ready for immediate lease allocation.
PropObligate replaces superficial "mark as paid" checkboxes with a real double-entry accounting engine designed for commercial rental cycles:
- FIFO Arrears Extinguishment: When a tenant pays ₹50,000 against multiple invoices, the engine automatically settles the oldest unpaid month first.
-
Advance Credit Wallet: Overpayments accrue safely in an
advanceCreditBalancewallet and auto-offset against subsequent billing cycles. -
Deposit Split Tracking: Separates
agreedDeposit,depositPaid, anddepositPendinginto explicit balance ledgers. -
Move-Out Settlement Calculator: Calculates final tenant exit settlements with automatic deductions for unpaid utilities, structural damages, and notice-period shortfalls:
$$\text{Net Refund} = (\text{Deposit Held} + \text{Advance Credit}) - (\text{Unpaid Dues} + \text{Repairs} + \text{Notice Shortfall})$$
- Monotonic Reading Validation: Ensures new electricity and water meter entries cannot regress below historical recorded values.
- Day-Weighted Proration: Calculates exact per-occupant utility splits based on active tenancy days during the billing month.
- Tokenized Public Tenant Portal (
/t/[token]): Every tenant receives a secure, passwordless magic link to review line-item dues, submit transaction UTR numbers, upload KYC identity documents, and submit maintenance tickets directly from any smartphone.
PropObligate is built as a high-performance modular monolith with strict domain boundaries and multi-tenant organization isolation:
- Frontend Presentation: Next.js 14 App Router with 50+ specialized views, high-contrast light mode styling, tabular numeric typography (
font-variant-numeric: tabular-nums), and Zustand persistent client storage with background sync. - API & Security Gateway: NestJS 10 REST API with
OrgAuthGuardenforcing organization-scoped data isolation across all database queries. - Domain Business Engines:
- Polymorphic Slot Engine: Single database schema seamlessly modeling Shopping Complexes, Corporate Towers, PG/Hostels, and Co-Working spaces.
- Automated Schedulers: Background cron jobs tracking expiring leases, statutory tax deadlines, and document validity dates.
- Data Persistence: Prisma ORM 5 with Supabase PostgreSQL providing transactional ACID reliability.
- Node.js (v18.18+ or v20+ recommended)
npmorpnpm- PostgreSQL database (local instance or Supabase)
git clone https://github.com/realranjan/PropObligate.git
cd PropObligatecd commercial-rental-api
# Install dependencies
npm install
# Configure environment variables
cp .env.example .envEnsure your .env contains your PostgreSQL connection string and a secure JWT secret:
DATABASE_URL="postgresql://postgres:password@localhost:5432/propobligate?schema=public"
JWT_SECRET="your-secure-development-jwt-secret-min-32-chars"
PORT=4000
FRONTEND_URL="http://localhost:3000"Initialize database tables and seed sample commercial properties:
# Run migrations and generate Prisma client
npx prisma migrate dev --name init
npx prisma generate
# Seed database with sample complexes, tenants, and work orders
npm run prisma:seed
# Launch backend API server
npm run start:dev
# Running on http://localhost:4000Open a new terminal session:
cd commercial-rental-web
# Install frontend dependencies
npm install
# Launch Next.js development server
npm run dev
# Running on http://localhost:3000Open http://localhost:3000 in your browser. The application launches with pre-seeded commercial portfolios (Prestige Tech Hub, Cyber Heights Arcade, Phoenix Pinnacle Mall) ready for exploration.
All API routes are organization-scoped and protected via Bearer JWT tokens:
| Module | Method & Route | Description |
|---|---|---|
| Auth | POST /auth/login |
Authenticate workspace user & issue JWT |
| Properties | GET /properties |
List all properties in organization |
| Properties | POST /properties |
Create new commercial property |
| Units | GET /units |
Retrieve units filtered by property |
| Tenants | GET /tenants |
List active tenants with deposit & rent metadata |
| Tenants | POST /tenants |
Onboard tenant and assign to vacant unit |
| Charges | GET /charges |
List due invoices grouped by billing cycle |
| Payments | POST /payments |
Record payment receipt and allocate via FIFO |
| Utilities | POST /utility-metering/readings |
Post monotonic sub-meter kWh reading |
| Maintenance | GET /maintenance |
List work orders with priority & status tags |
| Vendors | GET /vendors |
Manage verified contractor directory |
| Documents | POST /documents/upload |
Upload organization-scoped document |
| Reports | GET /reports/rent-roll |
Export audit-ready rent roll summary |
| Audit | GET /audit |
Retrieve immutable operational activity log |
PropObligate/
├── commercial-rental-web/ # Next.js 14 Frontend Application
│ ├── src/
│ │ ├── app/ # 50+ Specialized SaaS Views
│ │ │ ├── properties/ # Commercial Asset Registry & Deep View
│ │ │ ├── units/ # Units & Spaces Inventory
│ │ │ ├── floor-map/ # Tactile Floor-to-Unit Spatial Layout
│ │ │ ├── tenants/ # Tenant Directory & Onboarding Modals
│ │ │ ├── dues/ # Invoices & Receivables Passbook
│ │ │ ├── collection/ # Real-time Receipts & Payment Records
│ │ │ ├── electricity/ # Sub-Meter Utility Splitter
│ │ │ ├── maintenance/ # Work Orders & Facility Tasks
│ │ │ ├── vendors/ # Certified Contractor Directory
│ │ │ ├── documents/ # Document Vault & Expiry Alerts
│ │ │ ├── reports/ # Financial & Rent Roll PDF Exports
│ │ │ └── t/[token]/ # Public Self-Serve Tenant Portal
│ │ ├── components/ # Reusable Tactile UI Components
│ │ ├── store/ # Zustand Client Store with LocalStorage Sync
│ │ └── lib/ # API Client, Validations, and Utilities
│ └── package.json
│
├── commercial-rental-api/ # NestJS 10 Backend REST API
│ ├── src/
│ │ ├── common/ # Guards, Decorators, and Interceptors
│ │ ├── modules/ # Feature Modules (Properties, Charges, etc.)
│ │ └── prisma/ # Prisma Database Client
│ ├── prisma/
│ │ ├── schema.prisma # Relational PostgreSQL Schema
│ │ └── seed.ts # Database Seeding Script
│ └── package.json
│
├── assets/
│ └── readme/ # Project-Native Pure SVG Visual Assets
│ ├── hero.svg # Header Cockpit & Telemetry Banner
│ ├── spatial-floor-map.svg # Spatial Map & 440px Drawer Showcase
│ ├── financial-engine.svg # FIFO Ledger & Settlement Flow
│ └── architecture.svg # System Component Flow Diagram
│
├── ARCHITECTURE.md # System Architecture & Technical Specifications
├── DESIGN.md # Design System & Formatting Conventions
├── PROJECT_HANDOFF.md # Project Architecture & Feature Log
└── README.md # Master Documentation
Distributed under the MIT License. See LICENSE for details.
Developed by Ranjan Vernekar.