This is a food delivery application.
There are four services:
- RestaurantSearchService
- OrderService
- PaymentService
- DeliveryService
Use MySQL in this application
Use Http Get request
Endpoint: "/restaurantinfomation/{restaurantName}"
Use Http Post request
Endpoint: "/{restaurantName}/order"
Order information is in the Http body.
Use Http Post request
Endpoint: "/payment"
Order information and payment information is in the Heep body
Use Http Get request
Endpoint: "/deliveryinformation/{orderId}" or "/deliveryinformation/{UserName}"