About | Features | Technologies | Requirements | Starting | License | Author
This console application streamlines candy store product management, interacting directly with a database to enable users to add, retrieve, update, and delete product information. With an intuitive console interface and robust input validation, the app simplifies operations and ensures 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