We should have routes to add a new route, get route details, list all routes, update route details and delete a route
It will probably follow this pattern:
POST /routes - Add a new route
GET /routes/:routeId - Get route details
GET /routes - List all routes
PUT /routes/:routeId - Update route details
DELETE /routes/:routeId - Delete a route
Make sure it queries the db correctly and all code works
We should have routes to add a new route, get route details, list all routes, update route details and delete a route
It will probably follow this pattern: POST /routes - Add a new route GET /routes/:routeId - Get route details GET /routes - List all routes PUT /routes/:routeId - Update route details DELETE /routes/:routeId - Delete a route
Make sure it queries the db correctly and all code works