UserRoles Diagrams
UserRoles Diagrams
1. Customers
Primary Functions:
Browse Shops/Marketplaces:
o View available shops in their town.
o Search or filter by shop name, product category, or location.
Place Orders:
o Select products from a shop's inventory.
o Add delivery location (integrated with Google Maps for accuracy).
o Pay for products and delivery fees (online payment gateway or cash on delivery
option).
Real-Time Communication:
o Make calls directly to the shop via the app to clarify orders or inquire about
products.
o Receive notifications and updates on order status.
Social Media Links:
o View shop's social media profiles for more product information or promotions.
Delivery Confirmation:
o Confirm receipt of orders with a "Received" button in the app.
2. Shops/Marketplaces
Primary Functions:
Product Management:
o Upload and update product details (name, price, description, stock availability,
etc.).
o Add promotions or special notes (e.g., discounts, seasonal items).
Location Details:
o Provide a precise shop address and Google Maps integration for customers and
delivery personnel.
Order Management:
o View incoming orders and update order status (e.g., preparing, out for delivery).
o Communicate with customers directly via the app to resolve queries or issues.
Delivery Verification:
o Reach out to customers via integrated calls if the delivery status remains
unconfirmed.
3. Delivery Personnel
Primary Functions:
Order Assignment:
o View assigned orders along with pickup and drop-off locations.
o Accept or decline delivery tasks (based on availability).
Route Optimization:
o Access Google Maps navigation for efficient delivery routes.
Delivery Timeline:
o Mark deliveries as completed within the app.
o Receive notifications for new assignments and priority deliveries.
4. Admin/Dev Team
Primary Functions:
System Monitoring:
o Manage and oversee app operations, such as orders, delivery status, and customer
feedback.
Delivery Oversight:
o Track delivery personnel and ensure timely delivery through reporting and alerts.
Analytics Dashboard:
o Generate insights on app performance, sales data, and customer satisfaction.
Technical Architecture
1. Frontend:
o Frameworks: React Native or Flutter (cross-platform compatibility).
o Mobile app for Android and iOS.
2. Backend:
o Frameworks: Node.js, Django, or Laravel.
o Database: PostgreSQL or MongoDB for managing user, shop, and order data.
3. APIs:
o Payment: Local MOMO (MTN, Orange) or payment solutions
o Maps: Google Maps API for location and navigation services.
o Communication: Twilio or Agora for VoIP and SMS notifications.
4. Cloud Services:
o Hosting AWS, Azure, or Google Cloud.
o Storage: Amazon S3 or Firebase for storing shop/product images.
Development Roadmap
Considerations
Data Privacy: Ensure compliance with data protection laws like GDPR or CCPA.
Scalability: Use micro services architecture to handle future growth.
Support: Provide 24/7 customer service for resolving issues.
1. USE CASE:
2. CLASS DIAGRAM
3. SEQUENCE DIAGRAM
4. ACTIVITY DIAGRAM
SEE the charts here: