Project

General

Profile

ClientProject #885

Updated by Md.Sajib Ahmed over 1 year ago

 
 ### **Objective** 

 - Fetch and integrate mileage and engine css data into the filter section using a reusable hook for optimal code structure and reusability. 

 --- 

 ### **Task Checklist** 

 - [x] Fetch minimum and maximum mileage data from the API endpoint: `{{url}}/api/common/getMileage`. 
 - [x] Fetch minimum and maximum engine cc data from the API endpoint: `{{url}}/api/common/getEngineSizeCC`. 
 - [x] Integrate the fetched mileage data within the filter section. 
 - [x] Develop a custom reusable hook to streamline the API data handling and integration. 

 --- 

 ### **Success Criteria** 

 - Mileage and Engine CC data is successfully fetched from the specified API endpoint. 
 - The filter section displays the mileage and engine data dynamically based on the API response. 
 - A custom reusable hook is implemented to handle mileage data fetching, making it easy to reuse and maintain. 

 --- 

 ### **Summary Task List** 

 - [x] Set up API integration to fetch minimum and maximum mileage and engine data. 
 - [x] Display the mileage and engine cc data in the filter section. 
 - [x] Create and integrate a custom reusable hook for fetching mileage data. 

Back