Skip to content

Latest commit

 

History

History

README.md

Shop Management Console Application

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.

Features

  • 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.

Getting Started

To run the application, follow these steps:

  1. Clone the repository.
  2. Open the project in Visual Studio.
  3. Build the solution.
  4. Run the application.

Usage

  1. As a store admin, you can create products and categories using the provided commands.
  2. As a cashier, you can handle customer transactions by selecting products, choosing a payment method, and completing the checkout process.
  3. If the customer requests a receipt, a .txt file will be generated containing the transaction details.

Technologies Used

  • .NET 8
  • C# Console Application

Contributing

Contributions are welcome! If you have any suggestions or improvements, please submit a pull request.