You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
A Python program that uses object-oriented programming (OOP) to manage a computer shop inventory, sales, and customers
Notifications You must be signed in to change notification settings
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go to fileManagement of a computer shop, with various stocks stored in the database which allows users to create a Wishlist.
Note: run pip install -r requirements.txt to get all the required libraries.
Throughout the project, I will use seven standard modules, three third party ones which require installation via pip.
ComputerPart class is the abstract classes of four parts sold by the store, namely CPU, Graphics Card, Memory, and Storage.
Partlist class serves as the database of the store.
Wishlist class is derived from the Partlist, created by the user, with an additional attribute to store the username.
CommandPrompt class is the user interface which interacts with the user, asking user questions (derived from the Question class).
Store user records, including name, email, and password (using hashing mechanism)so that each user is distinguished and manageable.
Every time a user creates a Wishlist, they will be asked to provide login details which will be compared with those stored in the user database.
Appropriate errors will be raised and handled to allow only authenticated user to use the system and control their Wishlist.
Use pytest to test various methods of the Partlist class.