from https://github.com/PluemDontKnowToCode/OOptimus-Prime.git
CE-KMITL 1D OOP project
- User Authentication: Users can register, log in, and log out.
- Profile Management: Users can update their profile information, including username and profile image.
- Product Management: Sellers can add new products, and admins can approve or reject product requests.
- Shopping Cart: Customers can add products to their cart, view cart details, and proceed to checkout.
- Coupon Management: Admins can create and delete coupons, and customers can apply coupons during checkout.
- Address Management: Customers can add, update, and delete addresses.
- Transaction History: Customers can view their transaction history.
- Category Browsing: Users can browse products by categories.
- Responsive Design: The application is designed to be responsive and user-friendly.
To run this project locally, ensure you have Python installed. Then, follow these steps:
-
Clone the Repository:
git clone https://github.com/PluemDontKnowToCode/OOptimus-Prime.git
-
Set Up Project:
cd OOptimus-Prime pip install -r requirements.txt -
Run Project
cd OOptimus-Prime python -u ./_main.pyor run run.bat in OOptimus-Prime/frontend/run.bat to start then go to localhost:3000
-
Data File
this project didn't connect to any backend so all data come from following json file
The following structure represents the organization of JSON data files:
jsonData │── Account.json │── Admin.json │── Coupon.json │── Product.json │── Seller.json │── UnImproveProduct.json
Note admin username must have "admin" in it