brahimelkaceh / eCommerce

3 stars 0 forks source link

User Story 5: Update Category Data (admin access only) #23

Open saloua-kd opened 1 year ago

saloua-kd commented 1 year ago

Task 1: Implement the API route for updating category data, allowing changes to the category name. Task 2: Validate and process the request payload. Task 3: Update the category name in the database. Task 4: Return a response with the updated category data.

saloua-kd commented 1 year ago

verify token of admin , using "tokenCheck" middleware !!!!