Closed FadiAlamassi closed 5 years ago
api/v1/services/:serviceid
GET
Create a query to the database that gets the handyman related to the service id from the database
Create a test for the route and another test for the query that gets the data from the database
{ data:{} // Handyman data status-code":200 }
Get services by id
Route:
api/v1/services/:serviceid
Method:
GET
Acceptance criteria
Database
Create a query to the database that gets the handyman related to the service id from the database
Test route
Create a test for the route and another test for the query that gets the data from the database
Response