Delivered remotely for a business based in Barcelona, Spain. Names withheld by agreement.
Project Overview
Wholesale and direct-to-investor residential property sales operate under compressed evaluation cycles that bear little resemblance to retail homebuying. Renovation operators, buy-and-hold landlords, and portfolio buyers underwrite repair budgets, municipal tax liabilities, and target rental yields within tight acquisition windows. When disposition teams circulate deals through ad-hoc email threads, static attachments, and sequential phone calls, pricing lacks transparency and closing timelines slip.
Built for a residential disposition marketplace serving buyers and deal teams in Barcelona, we engineered a cross-platform mobile and web platform powered by React Native, React, Laravel, PHP, Blade, Bootstrap, MySQL, and Firebase. Vetted investors examine structured inspection dossiers on iOS or Android and compete inside governed, time-boxed bidding windows, while acquisition coordinators manage property launches, capital verification, and contract awards from a unified operations portal.
Business Bottleneck
Replacing fragmented spreadsheet and inbox coordination uncovered four operational barriers that stalled transaction velocity:
- Opaque price discovery: Calling buyers individually to negotiate best-and-final numbers bred skepticism over competing terms and burdened coordinators with manual note-taking across chat apps.
- Unqualified buyer noise: Without upfront proof-of-funds enforcement, analysts spent disproportionate effort fielding inquiries from unverified accounts incapable of closing on short cash timelines.
- Deadline race conditions: Informal email cutoffs created disputes whenever rival buyers submitted revised figures seconds apart near a closing hour.
- Fragmented underwriting packets: Heavy exterior photo galleries, structural notes, and scope estimates scattered across cloud folders slowed investor diligence during brief marketing windows.
Architectural Strategy
Our architecture draws a hard boundary between authoritative transactional state and live buyer awareness. Every state-changing action—opening a property window, approving an investor's capital tier, recording a competitive bid, or awarding a sale—executes solely inside Laravel API endpoints backed by ACID MySQL transactions. Mobile devices never dictate auction timing; countdowns render from server-supplied UTC boundaries and monotonic local offsets.
To broadcast live price movements without hammering MySQL with constant polling from mobile clients, Laravel dispatches compact non-sensitive state projections to Firebase Realtime Database and triggers targeted alerts through Firebase Cloud Messaging. Meanwhile, rendering the internal deal desk in Laravel Blade and Bootstrap allowed the engineering team to deliver high-density underwriting queues and document-review screens rapidly without maintaining duplicate frontend state layers.
Core Capabilities
- Structured Property Dossiers: Mobile property cards present categorized repair galleries, estimated rehab scopes, comparable neighborhood metrics, and downloadable disclosure PDFs in one consistent layout.
- Configurable Bidding Windows: Coordinators schedule launch times, reserve floors, minimum bid increments, earnest-money rules, and bounded anti-sniping extensions per listing.
- Gated Capital Verification: Prospective buyers submit corporate entity filings and bank liquidity letters directly in-app, unlocking bidding controls only after analyst sign-off in the portal.
- Real-Time Outbid & Closing Alerts: Instant push alerts and in-app status banners notify active participants the moment a higher bid clears or a round enters its final minutes.
- Centralized Deal Desk & Awarding: Operations staff inspect live participant activity, review bidder history, resolve contingency flags, and initiate closing paperwork from a single console.
Technical Architecture
Mobile apps authenticate through Laravel Sanctum over TLS, loading property catalogs, inspection image manifests, and historical round metadata directly from PHP REST controllers. Once an investor opens an active auction screen, React Native attaches a lightweight listener to that listing's Firebase Realtime Database node for live price and countdown updates while posting every binding bid strictly to signed Laravel endpoints.
Flow: React Native Investor App → Laravel API (Sanctum Auth & Policy Gate) → MySQL (SELECT FOR UPDATE Bid Ledger) → Laravel Event Dispatcher → Firebase Realtime Database & FCM Push → Deal Desk (Blade + Bootstrap)
After MySQL commits a valid bid, a queued Laravel job publishes an anonymized public snapshot—current leading price, masked bidder rank, total bid count, and any extended close timestamp—to Firebase. A parallel notification job fans out Firebase Cloud Messaging alerts exclusively to displaced bidders, keeping rival identities and verification files isolated from public channels.
Technology Stack
| Category | Technology detail |
|---|---|
| Core API & Bidding Engine | Laravel 11 on PHP 8.4 governing round lifecycles, reserve rules, and bid validation |
| Mobile Investor Client | React Native with React state hooks delivering native iOS and Android auction workflows |
| Operations Deal Desk | Laravel Blade views styled with Bootstrap for underwriting review and contract award queues |
| Transactional Bid Ledger | MySQL InnoDB using pessimistic row locking to serialize competing final-second submissions |
| Live Timer & Ticker Sync | Firebase Realtime Database streaming active round prices, bid counts, and deadline updates |
| Push Alert Delivery | Firebase Cloud Messaging dispatching instant outbid warnings and round-closing reminders |
| Liquidity & KYC Vault | Private encrypted object storage holding entity charters and proof-of-funds verification files |
| Scheduled Window Jobs | Laravel Queue workers automating round launches, anti-sniping extensions, and close settlements |
| Session & Token Auth | Laravel Sanctum issuing scoped API tokens for mobile investors and web operations staff |
Engineering Trade-offs & Solutions
| Engineering Challenge | Solution & Trade-off |
|---|---|
| Concurrent final-second bids risked out-of-order acceptance | Acquired InnoDB row locks (SELECT ... FOR UPDATE) on the property's active round record in MySQL; adds slight per-listing write serialization in exchange for strict deterministic ordering. |
| High-frequency timer polling from mobile devices overloads relational connections | Projected public round summaries into Firebase Realtime Database via queued listeners, reserving MySQL capacity for transactional writes and catalog queries. |
| Device clock skew distorted closing countdowns across phones | Returned authoritative server UTC timestamps with every round payload and calculated monotonic elapsed deltas inside React Native instead of relying on local OS clocks. |
| Exposing verification documents via public CDNs creates compliance risk | Stored proof-of-funds and entity records in private encrypted buckets accessible solely through short-lived, role-checked Laravel signed URLs inside the Blade deal desk. |
Security & Reliability
Financial bidding marketplaces face automated scraping, multi-account manipulation, and post-close disputes if submission integrity is weak. Every authenticated request clears Laravel Sanctum token verification alongside policy middleware confirming the investor's verification tier remains active and unrevoked. Per-user and per-IP rate limits protect bid-submission routes against scripted bursts without impeding rapid manual counter-bids during closing surges.
Every accepted, rejected, or extension-triggering submission writes an append-only audit row recording the bidder entity ID, bid amount, client idempotency UUID, server microsecond receipt timestamp, and resulting close deadline. Sensitive KYC attachments never enter Firebase nodes or public asset buckets; analysts inspect documents strictly through authenticated Blade routes backed by MIME validation and short-expiry signed links.
Performance & Scale
Real estate auctions create highly skewed traffic patterns: dozens of older listings sit quietly while one newly discounted residential asset draws intense concurrent activity during its closing five minutes. Scoping pessimistic MySQL locks strictly to the individual property round row ensures hot bidding wars never block writes or catalog reads on unrelated listings.
Inside the React Native client, multi-megabyte inspection photo sets render progressively using resized thumbnail derivatives and local disk caching, keeping property dossiers responsive over variable mobile networks. Laravel queue workers process image thumbnails, closing disclosure packets, and batched Firebase push fan-outs asynchronously so API response latency stays flat under peak auction load.
Operational Outcomes
Moving direct residential sales onto a governed mobile marketplace and centralized operations portal improved clarity and discipline across the entire disposition lifecycle:
- Transparent competitive pricing: Time-boxed digital rounds replaced opaque phone negotiations, giving buyers immediate visibility into active price floors and extension mechanics.
- Qualified auction participation: Mandatory proof-of-funds review before bidding ensures every active participant holds verified capital capacity prior to contract award.
- Dispute-resistant closings: Server-authoritative UTC cutoffs, idempotent mobile submissions, and immutable MySQL bid logs eliminate ambiguity around final-second entries.
- Cohesive deal-desk execution: Acquisition coordinators launch properties, audit investor credentials, and manage post-close handoffs from one unified Blade and Bootstrap interface.