Project

General

Profile

ClientProject #3254

Updated by Md.Sajib Ahmed 7 months ago

### Tasks 

 1. **API Endpoint Development** 

    * Create a new endpoint: 

      ``` 
      /api/v1/home/category-products?category="PremiumCars" /api/v1/home/category-products?category="category" 
      ``` 
    * Supported categories: 

      * `"NewArrivals"` 
      * `"PremiumCars"` 
      * `"HotDeals"` 
    * This endpoint will internally call **PQS Japan API**: 

      ```ts 
      `${API_BASE_URL}/api/vehicle/getCategoryAllStockList` 
      ``` 

 2. **Service Function** 

    * Implement a service function to fetch category-based products. 
    * Ensure **revalidated caching system** is applied for optimized performance. 

 3. **API Documentation** 

    * Create and maintain **Postman API documentation**. 
    * Include request/response examples for all supported categories. 

 --- 

 ### References 

 * Internal API: `${API_BASE_URL}/api/vehicle/getCategoryAllStockList` 

Back