shakirsir2122

Manual 1st prompt

May 20th, 2026
22
0
Never
Not a member of GistPad yet? Sign Up, it unlocks many cool features!
None 8.89 KB | None | 0 0
  1. Add this :
  2. AUTHENTICATION & ROLE ACCESS:
  3.  
  4. Build a role-based authentication system using Firebase.
  5.  
  6. User roles:
  7. 1. super_admin
  8. 2. store_owner
  9. 3. customer
  10. 4. guest
  11.  
  12. Requirements:
  13.  
  14. - Main app must NOT show Super Admin login publicly.
  15. - Public users should only see:
  16. • Continue as Guest
  17. • Customer Login (Google)
  18. • Store Owner Login (Google)
  19.  
  20. - Create a hidden admin route:
  21. /admin
  22.  
  23. Example:
  24. myapp.com/admin
  25.  
  26. - Only these Gmail accounts must have "super_admin" access:
  27.  
  28.  
  29. - No other Gmail account should ever receive super_admin access.
  30.  
  31. - If any other user tries to access /admin, block access and redirect them.
  32.  
  33. - After Google login, Firebase must verify the Gmail account.
  34.  
  35. - If Gmail matches one of the approved super admin accounts:
  36. → Redirect to Super Admin Dashboard
  37.  
  38. - If Gmail belongs to a store owner:
  39. → Redirect to Store Owner Dashboard
  40.  
  41. - If Gmail belongs to a customer:
  42. → Redirect to Customer Home
  43.  
  44. - Guest users:
  45. → Redirect to Guest Shopping Mode
  46.  
  47. - Protect all admin routes and admin dashboard pages.
  48.  
  49. - Unauthorized users must never access admin pages even if they manually type /admin in browser URL.
  50. _______________
  51. •super admin dashboard changes:
  52. - remove subscription & upgrade plan
  53. 1. analytics:
  54. - top visiting store according to customer.
  55. - customer growth.
  56. - most use function of app by Store.
  57. - add features that help me to monitor th stores for app improvement.
  58.  
  59. 2. Financials:
  60. - maintanence charge & due date with paid or not
  61. - total earnings from particular store.
  62.  
  63. 3. Notifications:
  64. - new login:- Store/ customer details.
  65. - complaints
  66. - maintenance charge due date reminder from specific store.
  67. _____________
  68. • store owner dashboard:
  69. 1. dashboard home:
  70. - today's sale / weekly sale: after clicking on this widget it will switch between today's sale and weekly sale.
  71. - customer visits Today/ weekly : same switch functions sale.
  72.  
  73. 2. Product manager:
  74. - add, edit, delete, stack, add category, etc.
  75. - compress image should have customisation while uploading on claudinary like want 50% 60% compress.
  76.  
  77. → order management: on /off option. Plus delivery charge on/ff , if on then input charge number rupees.
  78. - accept order→packed order→ mark delivered : make it practical tracking system.
  79.  
  80. → customer management:
  81. - reviews
  82. - total number of customer visits.
  83. - request of category or product by customer, even for for out of stack product.
  84. - customer inquiry
  85. - add needed features that store owner want in real life.
  86.  
  87. →offers:
  88. - create offer & description of offer like festival offer ( diwali, eid etc).
  89. ___________
  90. • customer dashboard:
  91. - continue as guest or login with google.
  92. - select store ( akso show which type of store it is & what categories they have in short info) or explore all items.
  93. - new arrivals, trending item, categories
  94. - also show new added categories by store owner to the customer automatically
  95. - search, filter, wishlist, cart, reviews, ratings.
  96. - cod is available or not. If available than return is available or not.
  97. - request for order.
  98. - if user want to buy item , he/she will buy on what's app button than it will navigate to WhatsApp contact of store along with the details of selected product link or URL .
  99. - remove razorpay integration for now, dont add anything that is connected with razorpay.
  100. → order tracking:
  101. - order request is confirmed or not.
  102. - packed → shipped → delivered.
  103. __________
  104. ★ add these features:
  105. 1 - store owner should have their own URL for their Store. If they sends to any customer then their customer visit to only their store product.
  106. 2 - for every product have a specific link to share. If user click on that link it will navigate to that specific product from specific Store.
  107. 3- store owner should have Google map store address link. Store owner can save the link into their profile . The link automatically show in every description of product to their customer or user can check in info of the store owner.
RAW Paste Data Copied