The demo home page. The yellow notice is part of the site: the listings are fictional.
What it is
A property site where agents publish listings and buyers search them. Two things make it more than a list of houses: agents are checked before their listings go live, and buyers can message an agent inside the site instead of giving out a phone number.
The version you can visit is a demo. The branding and the customer data are removed, the listings are invented, and the repository has a non-commercial license. The code is the same code, so it can be read without anyone's private data in it.
What's in it
Listings with a step-by-step creation form, photo galleries, features and amenities.
Search and filters: location, price range, property type, bedrooms, amenities, plus a keyword field.
Agent profiles and a verification step, with documents, agencies, specialties and commission rates.
Chat between buyer and agent over WebSockets, with unread counts, pinned threads and delete.
Favourites with private notes and price-change alerts, and saved searches that can email you when something new matches.
Notifications in the site and by email, and Celery jobs for backups, sitemaps, image processing and session cleanup.
Reviews and ratings for properties and for agents.
Four languages: English, Russian, Thai and Chinese, with a switcher in the header.
An Expo app in the same repository, for browsing listings on a phone.
How it's built
Django 5.2
Server-rendered pages. The admin does the moderation work, so I did not have to write a separate screen for it.
Channels + Daphne
WebSocket consumers for the chat and the notification stream, with Postgres and Redis behind them.
Celery + Redis
Anything slow or repeating runs as a task: image processing, email, sitemaps, nightly backups.
Image pipeline
Uploads are checked, resized, converted to WebP and watermarked before they appear on a listing.
Bootstrap 5
With crispy forms. The listing cards, the filters and the dashboards all use the same grid.
Content Security Policy
Scripts come from the site itself and two CDNs, with no inline script or style anywhere. Everything had to move into files, which left the templates plain.
Docker + Caddy
Postgres, Redis, Daphne and Celery in one compose file. Caddy serves the static and media files with long cache times, and stops a list of junk paths at the proxy before they reach Django.
About the demo
The notice at the top is part of the site. The listings are invented and the prices are made up. What is real is the code behind them: the models, the moderation flow and the chat are the ones the production version ran on, with the branding and the customer data taken out.
If you would rather read code than click around, the repository is public. The license is non-commercial: read it, learn from it, do not resell it.