Closed ugberaeseac closed 2 weeks ago
this is a duplicate to this #201
This is a duplicate of #201 Sir
Go through the github issue again and DELETE your comments
Do you not see that #201 is to GET all testimonials and #206 is to create a Testimonial by an authenticated user
okay here
Description
Implement a protected API endpoint that allows authenticated users to create a new testimonial. Ensure the endpoint handles validation errors properly and returns the created testimonial along with appropriate status codes.
Acceptance Criteria
Authentication
Create Testimonial
Successful Response
Endpoint:
Requests
Successful Response
Error Response
401 Unauthorized
400 Bad Request
500 Internal Server Error
Purpose
Allow authenticated users to submit and create new testimonials and ensure that the submitted data is stored accurately in the database.
Requirements
Expected Outcome
Testing:
Unit Tests:
Authorization Tests:
Validation Tests: