Design a Shopping Centre app
Difficulty: MEDIUMCategory: HLDFrequency: 1Asked On 2023-10-07
Problem Statement
Design a mobile and web application for a shopping centre (mall) that enhances the customer experience and streamlines operations for both shoppers and retailers. The system should provide features like store discovery, promotions, indoor navigation, events, and personalized recommendations.
Requirements
Functional Requirements (FRs)
Store & Product Information:
•Display a list of stores with details like location, category, opening hours, and contact info.
•Allow stores to showcase products, offers, and discounts.
Navigation & Maps:
•Provide indoor maps of the shopping centre.
•Offer turn-by-turn navigation to stores, restrooms, or other facilities.
Promotions & Offers:
•Display active promotions, deals, and discounts from different stores.
•Enable push notifications for personalized offers.
Event Management:
•Showcase events happening in the shopping centre (live music, workshops, etc.).
•Allow users to RSVP or buy tickets for events.
Search & Recommendations:
•Search for stores, products, or services.
•Provide personalized recommendations based on user preferences or purchase history.
User Accounts & Loyalty:
•Allow users to create accounts and track loyalty points.
•Enable digital coupons and membership benefits.
Reviews & Ratings:
•Users can rate stores and products.
•Display aggregated ratings and reviews.
Parking & Facilities:
•Provide parking availability information.
•Show locations of ATMs, restrooms, elevators, etc.
Feedback & Support:
•Collect user feedback and complaints.
•Offer chat or helpdesk support.
Non-Functional Requirements (NFRs)
Scalability:
•Support thousands of concurrent users in the shopping centre.
Performance:
•Fast search and navigation response times.
•Real-time updates for promotions, events, and parking info.
Availability & Reliability:
•App should be highly available with minimal downtime.
•Handle offline scenarios gracefully (e.g., cached maps).
Security & Privacy:
•Secure user accounts and personal data.
•Comply with privacy regulations like GDPR.
Extensibility:
•Easy to add new stores, events, or features in the future.
Challenges
•Indoor navigation and location tracking with high accuracy.
•Real-time updates for promotions, parking, and events.
•Handling high traffic during peak hours or special events.
•Personalizing recommendations while maintaining privacy.
•Synchronizing store inventory and offers across multiple stores.
Components to Consider
Frontend:
•Mobile apps (iOS/Android), Web app.
•Interactive maps and search interface.
Backend:
•APIs for store information, events, promotions, and user accounts.
•Recommendation engine for personalized suggestions.
•Push notification service.
Database:
•Store information (stores, products, events, promotions).
•User data (accounts, loyalty points, preferences).
•Reviews and ratings.
Real-Time Services:
•Indoor navigation & location tracking (BLE, Wi-Fi, GPS).
•Parking availability and facility updates.
Analytics & Reporting:
•Track user interactions, popular stores, and event attendance.
•Generate reports for shopping centre management.
Use Cases
1.A user searches for a shoe store and navigates to it inside the mall.
2.A shopper receives a personalized offer for their favorite clothing brand.
3.Mall management updates an ongoing event, and users are notified in real-time.
4.Users check parking availability before arriving at the mall.
5.Stores analyze reviews and ratings to improve customer experience.