You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a client, I want to manage my job listings effectively so that I can view, update, or delete my jobs as needed. This functionality should provide endpoints for clients to interact with their job postings.
Tasks:
Get All Jobs:
Create an endpoint in the JobController to retrieve all job listings posted by the authenticated client.
Implement pagination to limit the number of jobs returned in a single request.
Get Specific Job by ID:
Create an endpoint to fetch details of a specific job posted by the authenticated client using its job ID.
Update Job:
Create an endpoint to allow clients to update the details of their job postings.
Ensure that only the client who created the job can update it.
Delete Job:
Create an endpoint to allow clients to delete their job postings.
Implement checks to ensure that only the client who created the job can delete it.
Acceptance Criteria:
Get All Jobs:
Clients should be able to make a GET request to /jobs to retrieve their job listings.
Return 200 OK with a list of jobs or 204 No Content if no jobs are found.
Get Specific Job by ID:
Clients should be able to make a GET request to /jobs/{jobId} to retrieve a specific job.
Return 200 OK with job details or 404 Not Found if the job does not exist.
Update Job:
Clients should be able to make a PUT request to /jobs/{jobId} to update their job details.
Return 200 OK if the update is successful or 400 Bad Request if invalid data is provided.
Delete Job:
Clients should be able to make a DELETE request to /jobs/{jobId} to delete their job postings.
Return 204 No Content if the deletion is successful or 404 Not Found if the job does not exist.
Issue Title: Implement Job Management Functionality
Issue Description:
As a client, I want to manage my job listings effectively so that I can view, update, or delete my jobs as needed. This functionality should provide endpoints for clients to interact with their job postings.
Tasks:
Get All Jobs:
Get Specific Job by ID:
Update Job:
Delete Job:
Acceptance Criteria:
Get All Jobs:
GET
request to/jobs
to retrieve their job listings.Get Specific Job by ID:
GET
request to/jobs/{jobId}
to retrieve a specific job.Update Job:
PUT
request to/jobs/{jobId}
to update their job details.Delete Job:
DELETE
request to/jobs/{jobId}
to delete their job postings.Endpoint Specifications:
Get All Jobs:
GET
/jobs
Get Specific Job by ID:
GET
/jobs/{jobId}
Update Job:
PUT
/jobs/{jobId}
Delete Job:
DELETE
/jobs/{jobId}
The text was updated successfully, but these errors were encountered: