All work
Web8 Sites · Live

Next.js Leasing Microsites

A fleet of bespoke Next.js 16 leasing sites for individual apartment properties — each wired to a shared in-house availability API that keeps floor plans, live pricing, and MFTE affordable-housing units in sync, with Matterport tours, Apple MapKit maps, and Mux video.

Next.js Leasing Microsites screenshot

Why this exists

The portfolio's property sites were aging WordPress builds — slow, hard to keep in sync with live leasing data, and tedious to update site by site. I've been migrating them to bespoke Next.js sites on Vercel, each fed by a single in-house API (api.bonavista.work) so pricing, availability, and unit data stay live without per-site edits, while preserving the old WordPress URLs so nothing drops in search rankings.

Live sites · click through

How it's built

1

One availability API

Every site fetches floor plans, live pricing, units, amenities, and pet policy from a shared in-house endpoint that normalizes RentCafe/SecureCafe data. New pricing appears everywhere without touching a single site.

2

24-hour ISR

Each property page is statically rendered and revalidated on a 24-hour cycle, with a token-gated revalidate route to bust the cache on demand — fast loads, always-current data, no per-request API cost.

3

Rich media, server-safe

Matterport virtual tours, Mux streaming hero video, and Apple MapKit neighborhood maps (with the MapKit token minted server-side), plus Cloudflare Images and RentCafe CDN for photos.

4

SEO-preserving migration

Trailing-slash routing mirrors the legacy WordPress URLs exactly, JSON-LD and sitemaps are generated per property, and apply/current-resident routes redirect into RentCafe so the funnel stays crawlable.

Notes

  • Next.js 16 App Router, React 19, Tailwind v4, TypeScript — deployed on Vercel with Analytics + Speed Insights
  • Live MFTE affordable-housing units surfaced straight from the availability feed
  • Contact and tour-request forms via Resend, with leads posted to the Knock CRM webhook
  • A forked-and-tailored template per property — shared data/SEO layer, bespoke brand and layout for each
  • The same availability API also powers the WordPress property sites, so both hosting tracks stay in sync

Part of the web track: this is the Next.js / Vercel modernization running alongside the 55 in-house WordPress sites — the same portfolio, two hosting stacks, one live data backbone.

A / Listing photos

Hawthorne: 68 photos ranked, 25 published, every one described

Hawthorne living room with a private balcony, skyline and water view
Ranked #1 of 68 (96/100): balcony, skyline and water in one frame

A new shoot came back with 68 photos. Each was scored on what a renter needs to see (light, size, view, the features that set the unit apart) with a penalty for flaws, and the top 25 became the listing set, led by the one frame that shows a private balcony, the skyline and the water at once.

Then the gallery itself: in RentCafe, 10 of 25 photos had no alt text, the rest had generic machine captions, and none had a set display order for the listing feeds. A script wrote a title, alt text and caption per photo, set the order, applied all 25 through RentCafe's media library, then re-read the gallery to verify. Three photos drifted on the first pass and were re-applied until the read-back matched.

Alt text before and after
BeforeAfter
Front entranceThe exterior of a Hawthorne store with a green awning.Entrance to Hawthorne Apartments with glass doors, brick walls, green awnings, and the number 1618.
Building(none)Street view of Hawthorne Apartments, a six-storey building with balconies above ground-floor retail.
PatioA patio with a table and chairs is shown.Ground-floor patio with a bistro table, a storage bench, and potted olive and lavender plants.
Missing alt text: 10 → 0. Photos with a set listing order: 0 → 25. Verified by reading the gallery back from RentCafe.

Built with

Next.jsTypeScriptTailwind CSSVercelISRApple MapKitMatterportMuxResend

Want something like this built?

I take on a few web, SEO and AI automation projects alongside full-time work, and I'm open to remote engineering roles.

More work like this

Production Systems

Bonavista Maintenance Suite

10,334 work orders and 30,201 geofenced check-ins across 95 field staff.

Work Orders
10,334
Work Orders
Case study

Production Systems

Expense Reconciliation System

$2.78M reconciled across 6,539 receipts, with 86.8% auto-matched.

Spend Reconciled
$2.78M
Spend Reconciled
Case study

Node.js · TypeScript · MCP SDK

MCPServer Protocol

Integrations

RentCafe MCP Server

Opened live leasing data to AI agents — no vendor API required.

Server Protocol
MCP
Server Protocol
Case study