Skip to content

Latest commit

Β 

History

History
84 lines (55 loc) Β· 1.58 KB

File metadata and controls

84 lines (55 loc) Β· 1.58 KB

πŸ› οΈ Complaint Box System (C++ + SQLite + Qt)

A lightweight and extensible complaint management system built in C++ with SQLite for the backend. Includes CLI and planned Qt GUI support. Built for learning, collaboration, and open-source contribution.


πŸ“¦ Getting Started

βš™οΈ Build Instructions

πŸ”§ Option 1: Using Makefile

make
./complaintbox

πŸ”§ Option 2: Using g++

g++ -o complaintbox main.cpp -lsqlite3
./complaintbox

πŸ—ƒοΈ Database Setup

You do not need to set up the database manually.
The database (complaints.db) is created automatically on first run, along with all required tables.

βœ… Auto-generates:

  • Users Table
  • Admins Table
  • Complaints Table

.db file is excluded from Git using .gitignore for security and clean versioning.


🧩 Project Structure

πŸ“ ComplaintBox
β”œβ”€β”€ main.cpp               # Entry point
β”œβ”€β”€ .gitignore             # Ignored files
β”œβ”€β”€ README.md              # Project documentation
β”œβ”€β”€ ISSUES.md              # Open source task tracker
└── LICENSE                # Open source license

πŸ”§ How to Contribute

We welcome all contributions!

  • Fork this repository

  • Clone your fork:

    git clone https://github.com/yourusername/complaint-box.git
  • Create a new branch:

    git checkout -b feature-name
  • Make your changes and commit:

    git commit -m "Added feature: XYZ"
  • Push your branch:

    git push origin feature-name
  • Open a Pull Request and link related issues