A simple console-based shop management system with automated data generation and secure login capabilities.
- Secure Authentication: BCrypt-based login system
- Data Management:
- Users
- Products
- Orders
- Reviews
- Automated Generation: Random data generation for testing
- Interactive Console: Colorful terminal interface
- Data Persistence: File-based storage system
- User Management:
- Personal information storage
- Address tracking
- Contact details
- Product Inventory:
- Stock tracking
- Price management
- Product descriptions
- Brand and type categorization
- Order Processing:
- Multi-product orders
- Quantity tracking
- Total price calculation
- Stock updates
- Review System:
- Rating system
- User comments
- Average rating calculation
- Product feedback
- Error Handling:
- Robust exception management
- File operation safety
- Data validation
- Data Generation:
- Random user data
- Product inventory generation
- Order simulation
- Review creation
- Security:
- BCrypt password hashing
- Secure login system
- Session management
-
Install dependencies:
pip install -r requirements.txt
-
Run the program:
python __shopdb__.py
-
First-time setup:
- Create a login credential when prompted
- System will generate sample data automatically
-
Available commands:
us: Manage userspd: Manage productsord: Manage ordersrev: Manage reviewssv: Save changesex: Exit program
-
Data operations:
ls: List itemssr: Sort itemsfl: Filter itemsadd: Add new itemdel: Delete itemmdf: Modify item
- Python 3.12+
- Required Python packages:
bcrypt>=4.1.2 colorama>=0.4.6
MIT License - feel free to use and modify as needed.



