Real estate listings
A rebuild of a regional agency's WordPress site, so every inquiry arrives tagged with its listing.
- 3.1×
- 1.4s
- 100
The problem
The agency's old site was a WordPress theme with a plugin for listings. Search took a full page load per filter, the map was an iframe, and agents were getting inquiries with no record of which property they were about.
What I built
A Next.js app with server-rendered listing pages for SEO, a client-side map that filters as you pan, and a favorites list that works signed out (localStorage) and syncs when you sign in. Each inquiry form carries the listing ID, so agents see context in their inbox.
// Listings re-query as the map moves, debounced so we don't hammer the API.
const bounds = useDebouncedValue(map.getBounds(), 250);
const { data } = useListings({ bounds, filters });What I'd do differently
Start with the data model. I changed the listing schema twice after launch to support rentals, which meant two migrations I could have avoided with a week of upfront questions.
Inquiries tripled and, for the first time, we know which listing each one is about.