How kareem-diaa/inventory-management-system-project works
This is a terminal-based inventory manager. Users enter through the login/register menu; authentication validates credentials and dispatches authorized sessions to user or product management. Those management flows support CRUD, search, inventory viewing and report generation. JSON files provide persistence, and reports are written as HTML. The product-management implementation was not sampled, so its internal calls are not asserted; its documented capabilities and storage are shown with README evidence.
Main entry points: auth.py Authentication and Menus · crud_users.py User Management · crud_products.py Product Management · Report.py HTML Report Generator
Components 10
Access and Authentication
- Application Entry
main.py - Authentication and Menus
auth.py - Input Validation
validation.py
Inventory Management
- User Management
crud_users.py - Product Management
crud_products.py
Persistence and Reports
- User JSON Store
users.json - Product JSON Store
products.json - HTML Report Generator
Report.py - HTML Reports
Other components
- Operator
Connections 11
- Operator → Application Entry: starts
Readme.md - Application Entry → Authentication and Menus: invokes
main.py - Authentication and Menus → Input Validation: validates input
auth.py - Authentication and Menus → User Management: dispatches
auth.py - Authentication and Menus → Product Management: dispatches
auth.py - User Management → Authentication and Menus: checks session
crud_users.py - User Management → User JSON Store: reads and writes
crud_users.py - User Management → HTML Report Generator: requests report
crud_users.py - Product Management → Product JSON Store: persists products
Readme.md - Product Management → HTML Report Generator: requests report
Readme.md - HTML Report Generator → HTML Reports: writes HTML
Report.py