Actions
ClientProject #3277
openClientProject #3264: [UI]: Update Design & Add New Vehicles in Sidebar
Create Vehicles Stock Count API (Japan & Korean Stock)
Start date:
09/18/2025
Due date:
09/19/2025 (about 7 months late)
% Done:
100%
Estimated time:
1:00 h
Spent time:
Description
Tasks¶
-
API Development
- Create a new API route for fetching Japan and Korean stock count.
- Ensure type safety with TypeScript.
- Use appropriate error handling and validation.
-
Server Function
- Implement a server-side function
getVehiclesStockCount()to fetch stock counts. - Ensure caching and optimization where needed.
- Implement a server-side function
-
Integration in Sidebar
- Call the
getVehiclesStockCountservice inside the sidebar common component. - Display stock counts dynamically next to relevant categories.
- Make sure data updates correctly based on selected filters.
- Call the
Actions