RentRipple / RentRipple-Frontend

MIT License
1 stars 0 forks source link

Integrate Property Details Page and Update UI #28

Closed YashSahsani closed 1 week ago

YashSahsani commented 3 weeks ago

Description:

Integrate the backend API with the property details page to dynamically fetch and display detailed property information. Update the UI to reflect the new JSON structure provided by the backend, ensuring all property and owner details are accurately displayed. The goal is to enhance the user experience by providing comprehensive and up-to-date property details.

Acceptance Criteria:

  1. API Integration:
    • Fetch property details from the backend API.
  2. Display Property Information:
    • Address, city, state, country, postal code
    • Description, price, lease length, deposit
    • Images in a carousel
    • Extra features and amenities
    • Features (parking, laundry, etc.)
    • Utilities (electricity, water, etc.)
  3. Display Owner Information:
    • Name, email, phone number, and rating
  4. Error Handling:
    • Handle errors gracefully and display appropriate messages to users.
  5. Loading Indicators:
    • Show loading indicators while data is being fetched.
  6. Responsive Design:
    • Ensure the page is responsive and works well on both desktop and mobile devices.

      Tasks:

  7. API Documentation Review:
    • Review the provided API documentation to understand endpoints, parameters, and response formats.
  8. Fetch Property Data:
    • Implement API calls to fetch property details from the backend using Typescript Express.
  9. Display Property Data:
    • Update the property details page in Forested (React) to display data from the JSON structure.
  10. Update UI Components:
    • Implement a carousel for property images.
    • Display property address, city, state, country, and postal code.
    • Show description, price, lease length, and deposit.
    • List extra features and amenities.
    • Display features and utilities with appropriate icons or checkmarks.
  11. Fetch and Display Owner Data:
    • Integrate owner details into the UI, displaying the owner's name, email, phone number, and rating.
  12. Error Handling:
    • Develop error handling to manage API call failures and display user-friendly messages.
  13. Loading Indicators:
    • Add loading indicators to enhance user experience during data fetch operations.
  14. Responsive Design:
    • Ensure the layout is responsive and works well on both desktop and mobile devices.
  15. Test API Integration:
    • Conduct thorough testing to ensure data is correctly fetched, displayed, and updated, and that all functionalities work seamlessly.