Skip to content

wilsonsouto/candy-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 

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

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.

✨ 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
$ 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

About

Console app for candy inventory management

Topics

Resources

License

Stars

Watchers

Forks

Languages