About | Features | Technologies | Requirements | Starting | License | Author
Candy Shop is a console-based inventory management application designed to streamline the management of a candy store's product inventory. It interacts directly with a database to allow users to add, retrieve, update, and delete product information. Featuring a clean, interactive console interface and robust input validation, the application simplifies inventory management while ensuring data accuracy.
✔️ ViewProductsList: Display all products in a formatted table;
✔️ ViewSingleProduct: Show detailed info for a selected product;
✔️ AddProduct: Add new Chocolate Bars or Lollipops with input validation;
✔️ DeleteProduct: Remove products from the inventory;
✔️ UpdateProduct: Modify product details selectively;
✔️ QuitProgram: Exit the application;
✔️ Unit Tests: Includes tests to ensure reliable input handling;
The following tools were used in this project:
- .NET 8.0
- C#
- MySQL
- Spectre Console
Before starting 🏁, you need to have Git and .NET SDK installed.
# Clone this project
$ git clone https://github.com/wilsonsouto/candy-shop
# Access
$ cd candy-shop/CandyShop
# Set up the database connection, edit the .env file with your MySQL credentials
DB_HOST=localhost
DB_NAME=CandyShop
DB_USER=root
DB_PASSWORD=1234
DB_PORT=3306
# Run the project
$ dotnet run
# The application will initialize in the console
This project is under license from MIT. For more details, see the LICENSE file.
Made with ❤️ by wilsonsouto