This project is a console-based application designed for managing a shop. It allows store admins to create products and categories, and staff members to act as cashiers. The application simulates a shop environment where customers can select products and complete transactions.
- Product Management: Store admins can create and manage products. Each product has a name, price, and category.
- Category Management: Store admins can create and manage categories. Each category has a name and can be associated with multiple products.
- Cashier Interface: Staff members can act as cashiers and handle customer transactions.
- Product Selection: Customers can select products they want to purchase.
- Payment Method: Cashiers can choose between cash and card as the payment method for each transaction.
- Checkout Process: Cashiers can complete the transaction and generate a receipt if requested by the customer. The receipt is saved as a .txt file.
To run the application, follow these steps:
- Clone the repository.
- Open the project in Visual Studio.
- Build the solution.
- Run the application.
- As a store admin, you can create products and categories using the provided commands.
- As a cashier, you can handle customer transactions by selecting products, choosing a payment method, and completing the checkout process.
- If the customer requests a receipt, a .txt file will be generated containing the transaction details.
- .NET 8
- C# Console Application
Contributions are welcome! If you have any suggestions or improvements, please submit a pull request.