DemoKART takes the standard command-line shopping cart project and elevates it to a stunning visual experience. Utilizing the Rich text library to generate beautiful console panels, tables, and colors, it turns a simple terminal into a premium backend interface.
Data is managed securely and persistently using SQLite, while unique transaction receipts are generated dynamically into scannable QR Codes.
|
|
|
|
Check out our detailed FEATURES.md file for a deep dive into the system!
DemoKART requires virtually no setup beyond its pip dependencies.
# 1. Clone the repository
git clone https://github.com/M0neySSH/DemoKART.git
# 2. Enter the directory
cd DemoKART
# 3. Install required packages
pip install rich pyqrcode pypngRunning DemoKART is as simple as launching the script. The SQLite database (data.db) will auto-generate if it does not already exist!
python main.py- Hit
1to Register a new user. Keep note of the generated 6-digit ID! - Hit
4to Fill the Shop with stock. - Hit
8to Buy Items. Enter your ID, checkout, and experience the generated QR receipt!
Built with Defensive Programming, the application guarantees it will never crash due to bad user input during runtime. Prompt inputs are strictly cast to their required paradigms, continuously validating strings, integers, and floats without terminating the program.
Contributions, issues, and feature requests are heartily welcome!
Take a look at the CONTRIBUTING.md guide and the CHANGELOG.md to see where the project is heading.