Skip to content

Latest commit

 

History

History
95 lines (63 loc) · 4.61 KB

readme.md

File metadata and controls

95 lines (63 loc) · 4.61 KB

Bookshop Management System 📚

Overview 🚀

The Bookshop Management System is a comprehensive C++ program designed for efficiently managing various aspects of a bookshop, including book inventory, suppliers, purchases, employees, members, and sales. The system is built using C++ and utilizes a MySQL database for seamless data storage and retrieval.

Work Flow🎨

Alt text

Features 📌

1. Books Management 📖

  • Add Books: 📚 Add new books to the inventory, including details such as title, author, genre, and publication date.
  • Update Prices: 💰 Modify the prices of existing books, ensuring accurate and up-to-date pricing information.
  • Search Books: 🔍 Search for books based on criteria such as title, author, genre, and availability.
  • Update Status: 🔄 Change the availability status of books to manage stock effectively.
  • Display All Books: 📜 View a comprehensive list of all available books with relevant details.

2. Suppliers Management 🤝

  • Add Suppliers: ➕ Add new suppliers to the system, including contact information and preferred communication methods.
  • Remove Suppliers: ❌ Easily remove suppliers who are no longer in partnership with the bookshop.
  • Search Suppliers: 🔍 Quickly find suppliers based on specific details, facilitating efficient communication.

3. Purchases Management 🛒

  • Place New Orders: 📦 Initiate new orders for book restocking, specifying quantities and delivery deadlines.
  • View All Orders: 📋 Display a list of all pending and completed orders, including order status and delivery information.
  • Cancel Orders: 🚫 Cancel orders that are no longer required or have been fulfilled through alternative means.
  • Mark Orders as Received: 📦 Update the status of received orders, ensuring accurate inventory management.

4. Employees Management 👥

  • Add New Employees: ➕ Add new staff members to the system, including personal details and contact information.
  • Search Employees: 🔍 Find employees based on their details, making it easy to locate and update employee information.
  • Assign Manager Status: 👔 Designate managerial roles to specific employees, granting appropriate permissions.
  • View All Employees: 📋 Display a list of all employees, providing an overview of the bookshop's workforce.
  • Update Salary: 💸 Modify the salary of employees as needed, ensuring accurate compensation.

5. Members Management 🤝

  • Add New Members: ➕ Add new members to the bookshop's membership program, including contact details and membership status.
  • Search Members: 🔍 Quickly find members based on specific details, facilitating personalized customer service.

6. Sales Management 💹

  • Record Member Purchases: 🛍️ Log purchases made by members, contributing to a comprehensive sales history.
  • View Total Sales: 📊 Access a summary of the bookshop's sales, including overall revenue and popular items.

Setup 🛠️

  1. Ensure you have a C++ compiler installed on your system.
  2. Install MySQL server and set up a database.
  3. Update the database connection details (host, user, password, database) in the code.

Usage 🚀

  1. Compile the program using a C++ compiler.
  2. Run the compiled executable.
  3. Use the main menu to navigate through different modules.
  4. Follow on-screen prompts to perform various operations.

Project Structure 📁

  • Header Files: 📄 Contains necessary C++ header files.
  • Classes: 📦 Implementation of different classes (Books, Suppliers, Purchases, Employees, Members, Sales).
  • Main Menu: 📋 Main menu function for navigating through different modules.
  • Menus: 📋 Functions for each module's menu (Books, Suppliers, Purchases, Employees, Members, Sales).

How to Contribute 🤝

  1. Fork the repository.
  2. Clone the forked repository to your local machine.
  3. Make changes and improvements.
  4. Create a pull request to merge changes back into the main repository.

Dependencies 🛠️

  • C++ Compiler
  • MySQL Server
  • MySQL C++ Connector (Imp Link your C++ connector with the SQL DLL file to run this project.)
  • Windows API (for certain functionalities)

Author 🧑‍💻

🎄Thank You & Star✨