Project

General

Profile

dev #2009

Updated by Ayat Rahman about 1 year ago

Build #### **Description:** 

 Implement the GET /api/v1/categories and POST /api/v1/categories/bulk endpoints route to list retrieve stored tool data, including images, and bulk-create categories. ensure the frontend can display the previously filled fields. 

 #### **Tasks:** 

 1.    **Create GET Route:** 
    
     -     Define the `/api/tools/:id` route for retrieving tool details, including images. 
 2.    **Fetch Stored Data:** 
    
     -     Fetch the data for the specified tool, including uploaded logo and featured image URLs. 
 3.    **Frontend Compatibility:** 
    
     -     Ensure unique category names and support pagination for the data can be displayed on the frontend, with previously filled fields visible. 

 #### **Acceptance Criteria:** 

 -     The GET requests. route returns the correct tool data, including image URLs. 
 -     The frontend can display the data correctly, including images. 

Back