All projectsCase Study

馃彚 LuxHub Realty

A fractional real estate investment platform. Investors browse vetted income and growth properties, allocate funds to acquire fractional ownership, and track portfolio performance and income distribution from one dashboard.

luxub-app.vercel.app
Next.jsNode.jsPostgreSQLPaystackTailwindCSS

Built under an active client contract for LuxHub Realty.

The Problem

Premium real estate has always had a gatekeeper: capital. Owning a stake in a high-quality income or growth property historically required buying the whole thing, which locks everyday investors out of one of the most reliable asset classes there is.

Fractional ownership solves the access problem, but it creates a harder one: trust. If a hundred people each own a fraction of a property, the platform's records are the ownership. Every cedi allocated, every share issued, and every income distribution has to be provably correct, because there is no deed in anyone's drawer to fall back on.

What I Built

The full platform, both investor-facing and operational:

  • Property listing & management: vetted properties published as either income properties (recurring rental income) or growth properties (development upside).
  • Fractional purchase flows: investors allocate funds and acquire fractional ownership, with Paystack handling payment processing.
  • Investor dashboard: real-time portfolio tracking: allocation across properties, estimated annual income, and year-to-date growth.
  • Earnings distribution display: investors see income distributions as they happen, per property and across the portfolio.
  • Admin panel: property and investor management for the LuxHub team.
  • Financial integrity layer: atomic transaction design and full audit logging underneath everything, so every financial event is traceable.

My Role & Key Decisions

Built under an active client contract for LuxHub Realty. I designed and built the full platform (listing and management, purchase flows, the investor dashboard, earnings distribution display, and the admin panel) and architected the financial core it all sits on.

Decision

Wrapped every share purchase in an atomic database transaction

Why

A fractional purchase touches several records at once: the investor's funds, the ownership ledger, and the property's remaining share availability. If any of those writes succeeds while another fails, the platform now disagrees with itself about who owns what. On a platform holding people's investments, 'mostly consistent' is the same as broken. Atomic transactions mean a purchase either commits completely or leaves no trace.

Outcome

There is no code path that can leave an investor's money and their ownership records out of sync; partial writes are impossible by design.

Decision

Audit-logged every financial event, not just the final balances

Why

When an investor questions a number on their dashboard, 'the balance says X' is not an answer; you need to replay how it got there. Storing only current state means disputes become archaeology. Logging every financial event as it happens means any balance, distribution, or allocation can be reconstructed from its history, which is also the posture a platform needs as it moves toward regulatory scrutiny.

Outcome

Every financial event on the platform is traceable end to end; any dashboard figure can be explained by walking its event history.

Decision

Modeled income and growth properties as distinct categories from the schema up

Why

The two property types answer different investor questions (recurring rental income versus development upside), and their dashboard math is different: one produces estimated annual income, the other year-to-date growth. Flattening them into one 'property' shape would force the portfolio numbers to blur two things that should never be averaged together.

Outcome

The investor dashboard shows portfolio allocation, estimated annual income, and year-to-date growth as distinct, honest figures per category.

System Architecture

InvestorsBrowse 路 Invest 路 TrackAdmin PanelProperties 路 InvestorsNext.js FrontendDashboard 路 Purchase flows 路 TailwindCSSNode.js APIAuth 路 Purchases 路 Distributions 路 Adminatomic txPostgreSQLProperties 路 Ownership ledger 路DistributionsPaystackPayment processing 路Fund allocationwebhooksAudit LogEvery financial event 路 Append-only

Outcomes

Live
In production at luxub-app.vercel.app
Active
Ongoing client contract with LuxHub Realty
Atomic
Transaction design: no partial financial writes possible
Traceable
Every financial event fully audit-logged

What I'd Do Differently

I would formalise the financial invariants as automated checks from the start. The atomic transaction design and audit log make inconsistency very hard to create, but the properties I care about (shares issued never exceeding a property's total, distributions always summing to what was declared) lived in my head and in the schema's constraints rather than as an explicit, continuously-running reconciliation suite. On a financial platform, I now want a job that re-derives every balance from the event history on a schedule and alarms on any drift, so correctness is something the system proves daily instead of something the architecture merely encourages.