IIC2203 - Visual Application Programming Faculty of Technology | University of Sri Jayewardenepura
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.
| 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 |
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)
-
Extract the ZIP file to any folder on your PC. Example: 'C:\Users\Documents\CleanTrack'
-
Open the extracted folder and find 'CleanTrack.sln'.
-
Double-click 'CleanTrack.sln' to open it in Visual Studio 2022.
-
Wait for Visual Studio to load the solution.
-
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
-
Press F5 or click the green Start button to run the application.
-
Open Command Prompt and run:
-
Navigate to the folder:
cd Clean-Track
-
Open 'CleanTrack.sln' in Visual Studio 2022.
-
Restore NuGet packages (see Step 5 above).
-
Press F5 to run.
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
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.
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.
-
Login & Authentication
- Role-based login (Admin, Supervisor, Data Entry Officer)
- BCrypt password hashing
- Last login tracking
- Change password for all users
-
User Management (Admin only)
- Add, edit, delete users
- Search users
-
Zone Management
- Full CRUD for collection zones (name, ward, area, collection day, status)
- Search and filter
-
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
-
Complaint Management
- Complaint logging linked to a zone, with priority and status
- Add, edit, delete and search complaints
-
Dashboard
- Live KPI cards
- Bar chart - complaints over recent months
- Pie chart - complaint status breakdown
- Overdue complaints alert
-
Reports
- Vehicle, Driver and Zone report generation
- PDF export
- CSV export
- Date range filtering
-
Backup & Restore
- One-click database backup to a chosen location
- Restore from a backup file with confirmation prompt
| 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 |
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
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
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.
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