API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/signup | User Signup |
| POST | /api/login | User Login |
| GET | /api/profile | Get User Profile |
| PUT | /api/profile/edit | Edit User Profile |
| POST | /api/property/add | Add New Property |
| GET | /api/property/list | List Properties |
| POST | /api/property/buy | Buy Property |
| DELETE | /api/property/sell | Sell Property |
π Example API Request (Add Property):
curl -X POST "http://localhost:5000/api/properties" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"title":"Luxury Villa", "price":250000, "location":"Cairo", "description":"Spacious 3-bedroom villa"}'
Source captured: 2026-10-11