brahimelkaceh / eCommerce

3 stars 0 forks source link

User Story 1: Create a New Category (admin access only) #19

Open saloua-kd opened 1 year ago

saloua-kd commented 1 year ago

Task 1: Implement the API route for creating a new category. Task 2: Validate and process the request payload. Task 3: Store the new category in the database. Task 4: Return a response with the newly created category data.

saloua-kd commented 1 year ago

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