E-commerce web-application for selling clothing essentials
This is the Admin dashboard of TomperWear build with MERN stack and deployed with Netlify
TomperWear is an E-commerce platform for small bussiness owners who want to expand their bussiness by providing an online purchase solution to their customers.
Users shopping through this platform enjoys following features:
The admin panel of TomperWear contains three classes of admins:
1. Super privileged admin Super privileged admins are the topmost in the hierarchy. They have the following permissions:
This is privilege is ideal for the owner(s) of the bussiness.
2. Moderate privileged admin Moderate privileged admins comes below Super privileged admins. They have the following permissions:
This is privilege is ideal for the manager(s).
3. Low privileged admin Low privileged admins are the lowermost in the hierarchy and have the least amount of privileges. The have the following permission:
This is privilege is ideal for the delivery-agent(s).
Here is a table dipicting the admin privileges for better clarity
Admins | Product | Orders | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
view | create | update | delete | view | create | update | delete | view | update | delete | |
Super | โ | โ | โ | โ | โ | โ | โ | โ | โ | โ | โ |
Moderate | - | - | - | - | โ | โ | โ | โ | โ | โ | โ |
Low | - | - | - | - | - | - | - | - | โ | โ | - |
Clone the repo to your local machine.
Install the required dependency for server using :
npm install
Create a .env file inside the root folder and provide the following environment variables:
REACT_APP_BACKEND_HOST=<backend_url>
Start the dev server using :
npm start
Create a production ready react app using the command :
npm run build
Username | Password | |
---|---|---|
Test Super | test.super@tomperwear.com | testsuper1212 |
Test Moderate | test.moderate@tomperwear.com | testmoderate1212 |
Test Low | test.low@tomperwear.com | testlow1212 |
NOTE: These are just for testing purpose. Please don't:
For testing out things, you can create a new product, try out things and after that delete the product that you created.
(If you liked the project, give it star ๐)