Implement Routes for Appointments #185
Labels
No labels
CI/CD
MongoDB
PostgreSQL
api
authentication
bug
documentation
duplicate
enhancement
example issue
fix
good first issue
help wanted
high-level requirement
infrastructure
invalid
low-level requirement
medium-level requirement
question
security
test
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AndreFerreira5/starranja#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement the REST endpoints for the Appointment entity, connecting the API layer to the existing
AppointmentRepo.The router must handle standard CRUD operations. The repository currently handles validation for the
client_idduring creation.Technical Requirements:
src/routers/appointments.py/appointments["Appointments"]AppointmentRepousingDepends().AsyncMockto mock the repository layer.Exception Mapping Strategy:
HTTPException(404)-> Raised by Repo when Client not found.AppointmentDatabaseError-> 500 Internal Server Error (Handled by decorator).TDD Checklist: