Functional
1.search restaurants based on the location from static location name
2.list the restaurants in the area
3.when user click on the restaurant list all the menu
4.menu detail screen
5.should be able to add the items to the cart
6.checkout and do the payment
7.track the Driver details
Non Functional
Scalable
Secured
Available
Data Consistency
Based on the requirements and use cases, identify the main objects of the system and analyze how they interact and relate to each other...
GET v1/resturants/location=" "/offset=20&limit=10 -> [Resturants]
List of
Struct Resturant {
Restaurant_id
Name
URL
Address
Rating
}
GET v1/resturantDetail/ Restaurant_id -> [resturant details and Menu Items]
Struct Menu {
Var menu_ID
Var category
var name
var rating
}
Basket:
POST basket/userid, resturadntid, menuid, count -> BasketID
PAtch basketID/
Order:
post v1/order/basketID = " "&userid=" " -> orderID
get v1/OrderID
Location
v1/getorderStatus/orderID ->event stream