Skip to content

Console app for managing a candy store's inventory with database integration

License

Notifications You must be signed in to change notification settings

wilsonsouto/candy-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 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

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
$ 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 managing a candy store's inventory with database integration

Topics

Resources

License

Stars

Watchers

Forks

Languages