Real estate listing platform built with React, Vite, Express, and MongoDB.
Demo: amlak.mmdcode.top
Repo: github.com/MHDcoderC/amlak-web
- Property search with filters (province, city, type, price, area, rooms)
- JWT auth with user and admin roles
- Interactive map (Leaflet + Nominatim)
- Image upload with validation
- Admin panel for ad moderation and user management
- Favorites, mortgage calculator, light/dark theme
React 18 · Vite · Tailwind CSS · Express · Mongoose · Leaflet · Chart.js
Requires Node.js 18+ and MongoDB 6+.
cd frontend
npm run install:allCopy Backend/.env.example to Backend/.env and set at minimum:
MONGODB_URIJWT_SECRET
npm run dev:allOptional seed and admin:
npm run seed
npm run create:adminRun from frontend/:
| Command | Description |
|---|---|
npm run dev |
Frontend dev server |
npm run backend:dev |
Backend with nodemon |
npm run dev:all |
Both together |
npm run build |
Production build |
npm run test |
Vitest tests |
npm run lint |
ESLint |
npm run deploy |
Package for deployment |
MIT