This is a university project that has basic CRUD features that handle an e-commerce shop.
Features:
- SignIn/Login that works with JWT.
- Handles different user roles - Customer, Employee, Admin.
- A customer could choose and buy products.
- An employee can handle discounts, edit products, handle orders, search by id and see products that are currently not on sale.
- The admin has all the features that an employee has. Additionally, he can delete products, see all users and see the revenue.
- The customer view is fully responsive.
- Clone this project.
- Make sure you are in the correct directory before
npm install. npm run dev.- Start the server.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh

