implemented a Role-Based Access Control (RBAC) system to manage what each user type can access within the platform.
Customers can browse products, manage their cart, and view their orders.
Sellers can add, edit, and delete their own products, and track inventory and sales.
Admins have full control: they can manage users, approve seller accounts, and monitor overall activity.
Access to features is controlled based on the user role stored in localStorage, ensuring security and a streamlined experience for each role.