Skip to content

About

Waste Collection Management System

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CleanTrack - Municipal Waste Management System

IIC2203 - Visual Application Programming Faculty of Technology | University of Sri Jayewardenepura


Project Description

CleanTrack is a standalone desktop application developed for municipal council staff to manage garbage collection zones, vehicle records,driver records, and resident complaint logging, with role-based access, reporting, and database backup and restore.


Team Members

Member GitHub Username Module
Member 1 HJSRSewwandi Login, User Management, Backup & Restore
Member 2 yehanimitharaa Zone Management
Member 3 DivyanjaliKawshalya Vehicle & Driver Management, Performance Score
Member 4 NesanduPrabashwara Complaint Management
Member 5 dilugamage Dashboard, Dashboard Charts, Reports

System Requirements

Before running the project, make sure the following are installed:

  • Windows 10 or Windows 11
  • Visual Studio 2022 (Community Edition or higher)
  • .NET Framework 4.7.2 or higher
  • Git (optional - for cloning)

How to Set Up and Run

Option 1 - From ZIP File

  1. Extract the ZIP file to any folder on your PC. Example: 'C:\Users\Documents\CleanTrack'

  2. Open the extracted folder and find 'CleanTrack.sln'.

  3. Double-click 'CleanTrack.sln' to open it in Visual Studio 2022.

  4. Wait for Visual Studio to load the solution.

  5. Restore NuGet packages:

    • Go to Tools
    • Then, go to NuGet Package Manager
    • Then, go to Manage NuGet Packages for Solution
    • Click Restore
    • Wait for all packages to download
  6. Press F5 or click the green Start button to run the application.

Option 2 - From GitHub

  1. Open Command Prompt and run:

    git clone https://github.com/HJSRSewwandi/Clean-Track.git

  2. Navigate to the folder:

cd Clean-Track

  1. Open 'CleanTrack.sln' in Visual Studio 2022.

  2. Restore NuGet packages (see Step 5 above).

  3. Press F5 to run.


NuGet Packages Required

The following packages are used and will be restored automatically:

Package Purpose
System.Data.SQLite SQLite database connection
BCrypt.Net-Next Secure password hashing
LiveCharts.WinForms Dashboard charts and graphs
iTextSharp PDF report generation
ClosedXML Excel-related processing

If packages do not restore automatically:

  • Right-click the Solution in Solution Explorer
  • Click Restore NuGet Packages

Database Setup

No manual database setup is required.

The SQLite database ('CleanTrack.db') is created automatically when the application runs for the first time, located at: 'CleanTrack\bin\Debug\CleanTrack.db'

Tables created automatically include Users, Zones, Vehicles, Drivers, Schedules, Complaints, Letters, and AuditLog.


Default Login Credentials

Use these credentials to log in when running for the first time:

Field Value
Username admin
Password admin123
Role Admin

It is recommended to change the default password after first login using the Change Password option in the sidebar.

Additional test accounts (Supervisor and Data Entry Officer roles) can be created from the Users module by an Admin.


Application Features

  1. Login & Authentication

    • Role-based login (Admin, Supervisor, Data Entry Officer)
    • BCrypt password hashing
    • Last login tracking
    • Change password for all users
  2. User Management (Admin only)

    • Add, edit, delete users
    • Search users
  3. Zone Management

    • Full CRUD for collection zones (name, ward, area, collection day, status)
    • Search and filter
  4. Vehicle & Driver Management

    • Vehicle registration with status and maintenance date tracking
    • Maintenance overdue highlighting in the vehicle list
    • Driver profiles with vehicle assignment
    • Driver Assignment Summary (Total / Assigned / Unassigned)
    • Zone Performance Score module
  5. Complaint Management

    • Complaint logging linked to a zone, with priority and status
    • Add, edit, delete and search complaints
  6. Dashboard

    • Live KPI cards
    • Bar chart - complaints over recent months
    • Pie chart - complaint status breakdown
    • Overdue complaints alert
  7. Reports

    • Vehicle, Driver and Zone report generation
    • PDF export
    • CSV export
    • Date range filtering
  8. Backup & Restore

    • One-click database backup to a chosen location
    • Restore from a backup file with confirmation prompt

Role-Based Access

Module Admin Supervisor Data Entry Officer
Dashboard Yes Yes Yes
Zones Yes Yes Yes
Vehicles Yes Yes Yes
Drivers Yes Yes Yes
Performance Score Yes Yes Yes
Complaints Yes Yes Yes
Change Password Yes Yes Yes
Reports Yes Yes No
User Management Yes No No
Backup & Restore Yes No No
Settings Yes No No

Git Repository

GitHub Repository: https://github.com/HJSRSewwandi/Clean-Track

Branch structure:

  • 'main' - final merged code
  • 'login-auth - Member 1
  • 'feature/vehicles-drivers' - Member 3
  • 'feature/reports' - Member 5
  • 'complaint-nps' - Member 4
  • 'feature/zone-schedule' - Member 2

Future Enhancements

The following capabilities were identified during development as strong next steps beyond the current implementation:

  • Zone-to-schedule matching for complaint dispatch, using a dedicated Schedule entry screen so collection schedules are actually recorded against zones, vehicles and drivers
  • Automatic complaint escalation if unresolved beyond a set period
  • Unique complaint reference number generation
  • AuditLog entries for key administrative actions
  • Mobile companion app for drivers
  • GPS-based vehicle tracking
  • SMS/email notifications to residents on complaint resolution

Troubleshooting

Application does not start Make sure all NuGet packages are restored and .NET Framework 4.7.2 or higher is installed.

Database error on startup Delete 'CleanTrack.db' from the 'bin\Debug' folder and restart the application - it will be recreated automatically.

Charts not showing Make sure the LiveCharts.WinForms NuGet package is installed.

PDF not generating Make sure the iTextSharp NuGet package is installed.


File Structure

CleanTrack/ ├── Forms/ │ ├── LoginForm.cs │ ├── DashBoardForm.cs │ ├── SettingsForm.cs │ ├── ZoneForm.cs │ ├── VehiclesForm.cs │ ├── DriversForm.cs │ ├── ComplaintForm.cs │ ├── ReportsForm.cs │ ├── BackupRestoreForm.cs │ └── ZonePerformanceForm.cs ├── Database/ │ └── DatabaseHelper.cs ├── Helpers/ │ └── SessionHelper.cs ├── Models/ └── Program.cs


About

Waste Collection Management System

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages