# ZRP — Zambia Real Estate Platform
A modern web platform where customers can browse property listings and connect with verified real estate agents across Zambia.
> **Status:** Frontend Phase 1 — in active development
---
## Overview
ZRP is being built in two phases. The current focus is building a complete, polished frontend that defines the full product flow, user experience, and feature set. Once the frontend is satisfying, the backend will be built using the frontend as a blueprint.
The platform serves three user roles:
- **Customer** — browse listings, save properties, contact agents, send inquiries
- **Agent** — manage listings, track inquiries, maintain a public profile
- **Admin** — verify agents, moderate listings, review reports
---
## Tech Stack
### Frontend (current phase)
| Tool | Purpose |
|------|---------|
| React | UI framework |
| Vite | Build tool and dev server |
| React Router | Client-side routing |
### Backend (Phase 2)
| Tool | Purpose |
|------|---------|
| Node.js + Express | REST API |
| PostgreSQL | Database |
| JWT + bcrypt | Authentication |
### Deployment (planned)
| Service | Purpose |
|---------|---------|
| Vercel | Frontend hosting |
| Render / Railway | Backend hosting |
| Supabase / Neon | Hosted PostgreSQL |
---
## Pages
### Public Pages (Samuel)
| Page | Route | Description |
|------|-------|-------------|
| Home | `/` | Hero, featured listings, featured agents, CTAs |
| Listings | `/listings` | Browse all listings with search and filters |
| Property Details | `/listings/:id` | Full property info, images, agent contact |
| Agent Directory | `/agents` | Browse agents with search, location, and verification filters |
| Agent Profile | `/agents/:id` | Full agent profile with listings and contact |
| Login | `/login` | Email and password login |
| Register | `/register` | Role-based registration (Customer or Agent) |
| Customer Dashboard | `/customer-dashboard` | Saved properties, inquiry history, account settings | …