Skip to content

Latest commit

 

History

History
86 lines (57 loc) · 2.82 KB

README.md

File metadata and controls

86 lines (57 loc) · 2.82 KB

 

Candy Shop

GitHub Top Language Badge GitHub Language Count Badge GitHub Repository Size Badge Github License Badge

About   |   Features   |   Technologies   |   Requirements   |   Starting   |   License   |   Author


🎯 About

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.

✨ Features

✔️ 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.

🚀 Technologies

The following tools were used in this project:

  • .NET 8.0
  • C#
  • MySQL
  • Spectre Console

✅ Requirements

Before starting 🏁, you need to have Git and .NET SDK installed.

🏁 Starting

# Clone this project
$ git clone https://github.com/wilsonsouto/candy-shop

# Access the project folder
$ 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

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❤️ by wilsonsouto

 

Back to top