No-bodyq / BRT-System

0 stars 4 forks source link

Create Bus routes #6

Closed No-bodyq closed 2 weeks ago

No-bodyq commented 3 weeks ago

We should have routes to add a new bus to the system, get bus details, get all buses assigned to a route, Update bus details, Remove a boss from the system

It will probably follow this pattern: POST /buses - Add a new bus to the system GET /buses/:busId - Get bus details GET /buses/route/:routeId - Get all buses assigned to a route PUT /buses/:busId - Update bus details DELETE /buses/:busId - Remove a bus from the system

Make sure it queries the db correctly and all code works

harrysese commented 3 weeks ago

I want to do this

No-bodyq commented 3 weeks ago

Assigned @harrysese