# TDG Property Marketplace

> Phuket real-estate marketplace with map search, lead tracking and an AI landing-page builder.

- Type: Marketplace + AI
- Year: 2026
- Role: Design & full-stack development by Zubayer al Hasan
- Live site: [Visit TDG Marketplace](https://tdg-marketplace.vercel.app/)
- Case study: https://zhasan.me/work/tdg-property-marketplace

A property marketplace for Phuket, Thailand. Sellers, agents and developers list properties; visitors search on a map and send enquiries. The owner also gets an AI tool that turns a project’s website into a campaign landing page.

## The challenge

The owner runs ad campaigns for many property developments. Building a landing page for each one by hand was slow, and enquiries from different campaigns ended up in different inboxes.

## What was built

- Listings with photos, floor plans and a map location; search on a map or with filters.
- Accounts for sellers, agents and developers, with admin review of every listing.
- An AI landing-page builder: paste a project’s website and get a campaign page — a look-alike of the original or the facts in a fixed template — then edit it by typing what to change.
- AI-written developer pages that read a developer’s website and sales kit (Google Drive folders, PDFs, Slides).
- A leads inbox showing the campaign behind each enquiry, with status tracking, notes and CSV export.
- Google Ads conversions and GA4 events, with a cookie-consent banner.

## In numbers

- 147 automated tests
- 16 data models
- 2 AI providers (Claude, OpenAI)

## Stack

Next.js 14, TypeScript, PostgreSQL, Prisma, Auth.js, Bootstrap 5, Leaflet, MapLibre, Cloudinary, Resend, Claude API, OpenAI API, Playwright, Vitest
