A flask based web application for reporting environmental abuse incidents in Malawi
# Community Environmental Monitoring and Reporting System
A web-based platform for reporting and monitoring environmental incidents in Malawi, built with Python Flask.
## Features
- **Multi-language Support**: English and Chichewa incident reporting
- **AI-Powered Classification**: Automatic incident categorization using NLP
- **Role-Based Access**: Separate interfaces for citizens and administrators
- **Interactive Maps**: GPS-based incident mapping with Leaflet.js
- **Real-time Analytics**: Charts and reports for data-driven decisions
- **Mobile Responsive**: Works on all devices from smartphones to desktops
## Installation
1. Clone the repository
2. Install dependencies: `pip install -r requirements.txt`
3. Set up MySQL database
4. Configure environment variables in `.env`
5. Run: `python app.py`
## Technology Stack
- **Backend**: Python Flask
- **Database**: MySQL
- **Frontend**: HTML5, CSS3, Bootstrap 5, JavaScript
- **Maps**: Leaflet.js with OpenStreetMap
- **Charts**: Chart.js
- **AI/ML**: spaCy for NLP
## Modules
1. User & Role Management
2. Incident Reporting
3. NLP Classification
4. Incident Management
5. Map Visualization
6. Reports Generation
## License
MIT License