Pemba waste/government portal: wete-pemba
# Wete Waste Management Portal
A comprehensive waste management portal for Wete, Pemba, Zanzibar that enables countries to assess, monitor, and improve their circular economy and waste practices in a friendly, engaging, and data-smart environment.
## Features
- **Animated Hero Section**: Visual narration of the circular economy cycle
- **Interactive Global Snapshot**: Color-coded map showing country progress
- **Self-Assessment System**: Dynamic questionnaire with themed sections and wizard-style layout
- **Interactive Data Dashboard**: Country profiles, data filters, and comparative charts
- **Reports & Insights**: Automatically generated reports with visual comparisons
- **Capacity Building Hub**: Role-based learning tracks with interactive modules
## Setup Instructions
1. Clone the repository
2. Install dependencies:
```
composer install
npm install
```
3. Configure your `.env` file with database credentials
4. Run migrations and seeders:
```
php artisan migrate
php artisan db:seed
```
5. Compile frontend assets:
```
npm run dev
```
6. Run the application:
```
php artisan serve
```
## Database Structure
The application uses several key models:
- **Page**: Represents a page in the CMS
- **Section**: Organizes content within pages
- **Content**: Stores actual content for sections
- **Template**: Defines reusable layouts
- **Country**: Stores country data with circularity metrics
- **Achievement**: Records milestones in circular economy progress
## Data Seeding
The application includes seeders for sample data:
- `CountrySeeder`: Populates countries with circularity scores and metrics
- `AchievementsSeeder`: Creates sample achievements
- `HomePageSeeder`: Sets up the home page structure
- `AssessmentPageSeeder`: Creates the assessment questionnaire
- `DashboardPageSeeder`: Configures the data dashboard
Run `php artisan db:seed` to populate all data or specify a specific seeder:
```
php artisan db:seed --class=CountrySeeder
```
## Implementation Notes
- …