# 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):
```sh
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"}'

```