Demo website by Consultants In A Box: fictional brokerage, sample data
Example Realty

How this was built, and how the MLS sync works

This is an original demonstration site for a fictional brokerage. It is not a copy of any real brokerage's website. It copies no text, images, logos, layout code or listing data from anyone, and nothing was collected from any listing portal or MLS website. Sample data only.

What you are looking at

A complete independent-brokerage website: search with filters, list, grid and map views; listing pages with galleries, price history and a payment calculator; city and neighborhood pages with statistics; saved homes and searches; agent, sell and blog pages; and a commute search that finds homes within a drive time of every place you go. Pages are rendered on the server, JavaScript is limited to the gallery, the map, the filters and the calculator, and every page works on a phone.

All 400 listings are generated. Street names are real names of roads in each city, but house numbers are invented and no generated address is a real listing. Subdivision names are used only to say roughly where a demo listing is. Photos are AI-generated images of fictional homes, not pictures of any real property. The agents are fictional.

The listing sync

Listings arrive through a pipeline that does not care where they come from. An adapter turns one upstream feed into a common record; the same code then decides what changed and stores it. The demo runs a generated feed through exactly the pipeline a real MLS feed would use.

Each run of the demo seed advances one simulated market step: some price drops, a few homes go pending, some pending homes close, new listings appear, and occasionally one leaves the feed, so you can watch incremental updates and the soft-delete rule work.

Adapters

demo-seed
Generated, deterministic, running now. Verified by tests, including the whole pipeline against a real SQL database.
reso-web-api
The production path for a brokerage with an MLS membership and a data license (Triangle MLS or another). An OData v4 RESO Web API client: OAuth 2 client credentials, a $filter on ModificationTimestamp, paging by @odata.nextLink or $skip, $expand=Media, retry with backoff, and a mapper for the RESO Data Dictionary fields (ListingKey, ListPrice, StandardStatus, BedroomsTotal, BathroomsTotalInteger, LivingArea, YearBuilt, address parts, City, PostalCode, Latitude, Longitude, PropertyType, PropertySubType, PublicRemarks, ListOfficeName, ModificationTimestamp, Media and more). Verified against hand-written fixtures only; it has never talked to a real MLS server. It stays disabled until RESO_API_URL, RESO_TOKEN_URL, RESO_CLIENT_ID and RESO_CLIENT_SECRET are set in the environment; nothing is hardcoded.

What a live MLS feed requires

The map

Each listing page shows a real street map: Leaflet with OpenStreetMap tiles, loaded only when the map scrolls into view, with attribution shown. Because the brokerage and its listings are fictional, the map marks an approximate area with a shaded circle rather than an exact pin, so it cannot point at a real house. OpenStreetMap's public tile servers suit a demo's traffic but are not meant for a busy commercial site, so a production brokerage site would use a commercial tile provider or a self-hosted tile server. The search, city and commute pages still use a schematic SVG scatter with zoom, drag and keyboard focus. This is the only third-party request the demo makes.

Commute search

You choose one to three destinations from a list of Triangle places or by dropping a pin, set the longest drive you accept for each, an importance weight and a departure window (weekday morning rush, evening rush, midday, weekend). Homes inside every limit are shown, ranked so that the longest single trip is as short as possible; you can instead rank by total time or weighted time. Every result shows its minutes to each destination, an overall fit score and the tightest trip. The state is in the URL, so a result can be shared or saved.

Drive times in this demo are estimates, not live traffic: straight-line distance times a winding factor, a speed profile by distance band, and a time-of-day multiplier. It is deterministic, free and needs no key. The search first drops homes outside every destination's bounding box, caps the candidates, and memoizes pairs, so it stays fast.

For production, the same interface accepts a routing matrix provider: Google Distance Matrix, Mapbox Matrix or a self-hosted OSRM, each behind an environment key with request batching, caching by rounded coordinates and time bucket, and a quota guard. Rough cost shape (check current prices): Google and Mapbox bill per origin-destination element with a free monthly allowance, so a cache and a bounding-box prefilter matter; a self-hosted OSRM has no per-call fee but needs a server and does not model traffic by time of day. The public OSRM demo server must never be used in production. Typed addresses need a geocoder (also pluggable, keys required); the demo does not call one.

Fair Housing and content

Listing text, neighborhood pages and blog posts describe the property and the place, never the people. Generated copy is checked in tests against a blocklist of steering language (family status, religion, race, national origin, disability, age, school or safety claims, and words like "desirable" or "exclusive"). Neighborhood pages use a fixed vocabulary for location, era, housing types and amenity categories. School and crime information is deliberately not included. Neighborhood names are used only as geographic references, with no claim of affiliation, and every statistic carries the note "Sample data for demonstration, not actual market data for this neighborhood". HOA fees on listings are clearly synthetic values; no homeowners association is named anywhere.

Privacy, indexing and performance

Specs as JSON ยท Back to the demo