Built a Real Estate Management App with Unit Status and Vacancy Alerts for a Riyadh Developer to Increase Occupancy by 22%

Real estate management app: portfolio map, vacancy alerts and the technician move-out checklist

Project Overview

A real estate developer in Riyadh owns 500 apartments and villas in 14 residential projects. The leasing team maintained a spreadsheet of all the units, and they would update it on Sundays. It was already out of date on Tuesday. Some were left empty for weeks as it wasn't known if the tenant had vacated, the cleaners were not scheduled, or there was a repair in progress.

The real estate business wanted one app that shows what is actually happening with each unit and warns the leasing team before a unit becomes empty.

Our real estate app development company built a solution that shows each unit's status on a map, sends the leasing team a message 120 and 60 days before a lease ends, and gives maintenance staff a move-out checklist. We also connected it to the developer's accounting system, so rent payments appear next to each unit.

Business Challenges

  • Late vacancy news

    Tenants were notified by phone and WhatsApp, and the unit only became vacant when the keys returned. On average, units waited 31 days before being re-announced.

  • Units listed before they were ready

    Cleaning and other services were arranged by phone with no set order. Prospects usually viewed an unfinished flat and left.

  • Three answers to one question

    Asking "which units are empty and why" to three coordinators produced three different lists.

  • Lease dates trapped in PDFs

    No one could search or sort through end dates that were locked in a scanned contract.

  • Technicians without signal

    Basements and stairwells in older projects dropped the connection.

  • Slow owner reports

    Each status report for an investor owner took a coordinator 1/2 day.

Our Solution

Every unit moves through fixed states: occupied, notice given, vacating, turnover in progress, inspection pending, ready to list, listed, reserved, and leased. Any other move is refused. A unit cannot go from turnover to listed without a passed inspection record.

  • Each state change and its event is saved in one PostgreSQL transaction through a transactional outbox
  • A relay publishes outbox events to BullMQ queues, so no alert goes out for a change that failed to save
  • Exclusion constraint on unit and lease dates, which blocks two active leases on one unit
  • Lease end dates read from the Ejar record instead of a PDF

  • Renewal reminders to the leasing agent at 120, 90 and 60 days before lease end, with the tenant's payment history attached
  • Notice received: the unit flips to notice given and a move-out plan is created
  • 14 days before move-out: alert marketing to publish the unit with a planned available date
  • Listed for 10 days without a viewing: alert the branch manager with a rent review suggestion
  • Push first, then SMS if the push stays unopened for 20 minutes
  • One daily digest per person in place of single messages

When a tenant gives notice, the app builds a job list: move out inspection, cleaning, painting, air conditioner service and final inspection. Each step has an owner, a due date, and a photo requirement. A late step moves the planned listing date and alerts the leasing team.

  • PostGIS points and project boundaries for every unit
  • Buildings colored by occupancy and units colored by state
  • Filters by district, project or a drawn shape, showing days vacant and estimated rent lost
  • Mapbox vector tiles for smooth zoom on a phone

  • Offline job list in an encrypted SQLCipher database
  • Checklists, photos and meter readings saved without signal
  • UUID idempotency key and version number on every save, so a sync never creates a second job or overwrites a newer edit

  • Accounting system stays the record for invoices and receipts
  • Sync service reads payment status through its API and writes unit and lease references back
  • SADAD payments arrive as signed webhooks
  • Reconciliation job matches payments that failed on the first attempt

Investor owners sign in to see their units, occupancy, days vacant, and maintenance cost. Reports export as PDF in Arabic or English.

  • Roles: leasing agent, technician, project manager, finance, and owner
  • Append-only audit records for every state change, edit, and report download
  • Correlation IDs on every request, with phone numbers and national ID values masked in logs
Technician field mode with the move-out checklist, and the owner report
Portfolio console on a laptop cycling through the results: occupancy, vacancy alerts, move-out turnover and owner reports

Technology Stack

  • Mobile App

    React Native

    Modernized the existing valuer app for iOS and Android with shared inspection workflows

  • Web Console

    React

    Provided mortgage teams with faster case review and valuation tracking

  • Backend

    Node.js, REST APIs

    Connected valuation workflows with the existing mortgage platform and internal services

  • API Integration

    AWS API Gateway

    Controlled secure communication between the modernized app and legacy mortgage systems

  • Database

    PostgreSQL

    Stored valuation cases, property records, inspection data, and workflow history reliably

  • Background Jobs

    Redis, BullMQ

    Managed valuation reminders, assignment queues and report processing

  • Property Mapping

    Mapbox

    Supported property location checks and comparable property searches

  • Document Storage

    Amazon S3

    Stored property documents, inspection photos and completed valuation reports

  • Authentication

    OAuth 2.0

    Secured access for valuers, mortgage officers and operations teams

  • Cloud Infrastructure

    AWS EC2, RDS, S3, CloudWatch

    Hosted the application and supported database management, storage and monitoring

  • Monitoring

    OpenTelemetry, Structured Logs

    Traced valuation cases across APIs and identified delays in the workflow

  • Report Generation

    Node.js PDF Services

    Generated standardized valuation reports for review and delivery

Saudi Specific Integrations

  • Ejar

    contract number and registration status stored on each lease, with end dates read from that record

  • SADAD

    rent payments posted to the tenant ledger automatically

  • Nafath

    national digital identity login for staff and owners

  • National Address

    short code and building number on each unit, so technicians find the right door in large compounds

  • REGA

    advertising license number shown on every listed unit

  • Saudi calendar

    working days, public holidays and prayer times applied when inspections are booked, with Hijri and Gregorian dates side by side

  • PDPL

    tenant consent records, encryption at rest and in transit, and a retention period for former tenants' data

Development Process

  1. Discovery

    We walked through three projects with the leasing team, read 120 lease files, and timed 40 move-outs from notice to relisting.

  2. Data cleanup

    We found about 210 units with the wrong status and 160 with no lease end date. The leasing team corrected them from the contracts before any code depended on that data.

  3. Core build

    We built the unit states and alert engine first, then the move-out checklist and the map. We tested them on real notices from the first project.

  4. Offline and accounting

    We connected the accounting system and the SADAD webhooks. To test sync, we cut the signal in a basement car park, edited one job from two phones, and sent the same upload five times.

  5. Pilot

    We launched one project and ran the spreadsheet beside the app for four weeks, comparing both every Sunday.

  6. Rollout

    We moved the remaining projects over in groups of three or four.

Measurable Results

  • Occupancy up 22%, from about 71% to about 87% within seven months of the last project going live

  • Gap between a tenant leaving and the unit being advertised cut from 31 days to 9

  • Units listed before they were ready down from about 1 in 4 to fewer than 1 in 25

  • Days vacant per unit per year down 38%

  • Owner report preparation cut from half a day to under 2 minutes

  • Alert delivery at p95 under 40 seconds

  • No lost jobs and no duplicates in the offline sync tests

Ready to Build a Real Estate Management App in Saudi Arabia?

Connect with our real estate app development team to discuss how your units, leases, and maintenance can run from one app.

Get a Free Quote
Contact Us

Ready To Fuel Your Vision With AI-Powered Innovation?

Our Presence

Level- 18, Dubai World Trade Centre Tower, Sheikh Rashid Tower, Sheikh Zayed Rd, Dubai, UAE

business@code-brew.com +971-55-645-7972

Plot no I - 36, Sector 83 Alpha, Mohali SAS Nagar 140308

business@code-brew.com +91-771-976-8427

Al Akaria 2, 6926 Olaya Street, RHOA2566, Riyadh, Saudi Arabia.

business@code-brew.com

Av. Miguel Hidalgo y Costilla 1995, Arcos Vallarta, 44600 Guadalajara, Mexico

business@code-brew.com +1(213)2614953

4231 Balboa Ave #512 San Diego, CA 92117 United States

business@code-brew.com +1(213)2614953

2nd floor, College House, 17 King Edwards Rd, London HA4 7AE, UK

business@code-brew.com +44 (20) 82644493

Partner With Experts Who Leverage AI & Tech To Transform Ideas Into Market-Leading Solutions.

Wait! Looking for Right Technology Partner For Your Business Growth?

It's Time To Convert Your Business Idea Into Success!

Get Free Consultation From Top Industry Experts:
gif
I would like to keep it to myself