# LiRenti — Eswatini Rental Platform
A full PHP + MySQL rental system connecting tenants and landlords across
Eswatini's four regions, built to replace the scattered, unsearchable
"post a screenshot in the Facebook group" workflow with a real platform:
structured listings, direct landlord↔tenant messaging, saved favorites,
and a way to flag scam or fake posts.
## What it does
**For tenants**
- Browse/search listings by region, town, property type, keyword, and max price
- Sort results by newest, price (low↔high), or highest rated, with pagination
(12 listings per page)
- View full listing pages with photo gallery, amenities, price, and landlord info
- Message a landlord directly from a listing (no phone-number hunting), or
chat instantly on **WhatsApp** with a pre-filled message via a click-to-chat
button — no app switching friction, works even for tenants who'd rather
not create an account first
- Leave a star rating + review for a listing after messaging its landlord
about it (one review per tenant per listing, gated on having actually
reached out — a lightweight anti-spam measure)
- Save listings to a shortlist ("Saved")
- See all sent inquiries and landlord replies as threaded conversations
- Report a listing that looks like a scam or is fake
- See each listing's location on an embedded Google Map, and open it in
the Google Maps app for directions
**For landlords**
- Register and list properties with multiple photos, price, bedrooms/bathrooms,
amenities, region/town, and a free-text description
- Dashboard with stats (total, available, rented, total inquiries received)
- Star rating shown on every listing, plus an aggregate rating across all
of a landlord's listings — reviews only come from tenants who actually
messaged about that specific listing
- Edit listings, change status (available / rented / hidden), add more photos
- Inbox of tenant inquiries grouped as conversation threads, with reply
- Delete a listing (also removes its uploaded photos)
- Optional …