In this assignment, you are invited to design and implement a software system for catalogue sale. A catalogue is organised in a tree structure. Each node of the catalogue tree represents either an item for sale or a category. The following is an example of such a catalogue:
Books
Textbooks
Computer Science
Data structures Using C++
Java: How to program
Mathematics
...
Social Science
...
Audiobooks
...
Magazines
...
Movies, Music & Games
Blue-ray
...
Music
MP3 Downloads
Video Games
Home, Garden & Tools
Kitchen & Dining
Appliances
...
Sports & Outdoors
Exercise & Fitness
Precor Premium Series 9.31 Treadmill
Bike & Scooters
...
There are three roles in the system: sellers, buyers and the Manager.
A seller can:
- Traverse the catalogue
- Place a sell item under an existing category
- Create a new subcategory under the root category or any other subcategories