Qentrah
Projects
On this page
Reference

API Endpoints

View as Markdown
MethodEndpointDescription
POST/api/signupUser Signup
POST/api/loginUser Login
GET/api/profileGet User Profile
PUT/api/profile/editEdit User Profile
POST/api/property/addAdd New Property
GET/api/property/listList Properties
POST/api/property/buyBuy Property
DELETE/api/property/sellSell Property

πŸ“Œ Example API Request (Add Property):

Terminal
Shell
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