Implement Routes for Vehicles #193
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#193
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?
ATTENTION - Vehicle Repository is not yet implemented!!!! Needs to be implemented before this
Implement the REST endpoints for the Vehicle entity, connecting the API layer to the
VehicleRepo.Since the repository methods are currently empty (raising
NotImplementedError), this task involves implementing the repository logic using Beanie/MongoDB before exposing the endpoints.Technical Requirements:
src/routers/vehicles.py/vehicles["Vehicles"]VehicleRepousingDepends().Exception Mapping Strategy:
VehicleNotFoundError-> 404 Not FoundDuplicateVehicleError(License Plate/VIN) -> 409 ConflictVehicleDatabaseError-> 500 Internal Server ErrorTDD Checklist:
all the sub-issues have been implemented, closing...