a full-stack simulation of food ordering app
docker exec -it makan_db psql -U makanuser -d makan_db
- POST /api/customers: Create a new customer (for simulation purposes).
- GET /api/customers/{customerId}: Get details of a specific customer.
- PUT /api/customers/{customerId}: Update details of a specific customer.
- GET /api/restaurants: Get a list of all restaurants.
- GET /api/restaurants/{restaurantId}: Get details of a specific restaurant.
- GET /api/restaurants/{restaurantId}/menu: Get the menu of a specific restaurant.
- POST /api/orders: Place a new order.
- GET /api/orders/{orderId}: Get details of a specific order.
- GET /api/customers/{customerId}/orders: Get a list of all orders placed by a specific customer.
- PUT /api/orders/{orderId}/cancel: Cancel an order.
- GET /api/orders/{orderId}/status: Get the current status of a specific order.
- GET /api/orders/{orderId}/track: Get real-time tracking information for a specific order.
- POST /api/drivers: Create a new driver (for simulation purposes).
- GET /api/drivers/{driverId}: Get details of a specific driver.
- PUT /api/drivers/{driverId}: Update details of a specific driver.
- GET /api/drivers/{driverId}/orders: Get a list of all orders assigned to a specific driver.
- PUT /api/orders/{orderId}/status: Update the status of an order (e.g., from
out_for_delivery
todelivered
).