Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
112 views1 page

Zomato

The document describes the backend architecture of a food delivery app. It shows the modules, models, and relationships between users, restaurants, categories, items, orders, and payments. The modules include controllers to handle login, signup, and CRUD operations, and routers to direct requests to the appropriate controllers. Models represent the database schema and handle data access.

Uploaded by

Shubham Pandey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views1 page

Zomato

The document describes the backend architecture of a food delivery app. It shows the modules, models, and relationships between users, restaurants, categories, items, orders, and payments. The modules include controllers to handle login, signup, and CRUD operations, and routers to direct requests to the appropriate controllers. Models represent the database schema and handle data access.

Uploaded by

Shubham Pandey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

loginMethod (controller)

Modules Models

Shema

APP DB Call

ZOMATO Management Activate / Deactivate Restaurant


login (router)
Restaurant Categories, Items, Orders

User Orders, Profile, Payments


Users
update details
Controller

{ Name, location, image } Restaurant Router login

PENDING Payments signup


remove cat

{ name, phone, password, email, address, status, role, [


User update cat
orderId ] FOR ADMIN : {Restaurant}

Model { shema, database call } Modules ( controller, router )


{ Name, items, restaurant, image } Categories Categories add cat

update item
{ Name, category, restaurant, image, price } Items

Items Add item


{ User, restaurant, [ items { itemId, price, Q } ], total, orderId } Orders
remove item

Zomato

Orders Create order

Update status

Restaurant Add restaurant

update status

You might also like