LLD question | Design a dashboard for a restaurant
Anonymous User
296

Hi Everyone

Got this LLD question in one of the interviews:
Question: Design a dashboard of restaurant chain.
Clarifying questions:

  1. What is expected to be shown on the dashboard?
    A. Number of customers visiting a particular restaurant branch overtime (1 month, 1 year etc)
  2. Do we also need to keep track of which user visits particular which branch over the time?
    A. Yes

Attempt :

  1. I tried to make following entity classes:
    User

    • email
    • name
    • area code
      Restaurant
    • restaurant _id
    • restaurant code
  2. For the database tried to write a simple repository class that would connect to mysql or any other relational DB

Comments (1)