-
Create a unique, premium-quality, official-government-standard Constituency Management Portal System named: π’ BUTULA MKONONI Slogan: Smart Governance Through Technology π¨ DESIGN REQUIREMENTS Use Kenyan flag colors (Black, Red, Green, White) to style the UI in a patriotic but professional way. Must be highly responsive, elegant, and appear like an official government portal. The user interface should be colorful, professional, user-friendly, and fully accessible across mobile and desktop. Place a live real-time date and time display using East Africa Time (EAT) on all dashboards. Display footer signature: Designed by RODRICKS OKUMU NAKHUMWA_0768525119 π ACCOUNT REGISTRATION & SECURITY FLOW Three User Roles: MP Admin User (citizen/public) During registration: Require email or username, password, and role selection. Ask for a secret code (OKUMU@1999) β this must be used internally in backend validation only. β οΈ Do not display it on the registration or login UI. On login: Only one dashboard can be accessed at a time based on user role. Allow manual logout and implement auto logout after 10 minutes of inactivity. Ensure role-based access using JWT or session-based security protocols. π§ AI & MACHINE LEARNING INTEGRATION (ChatGPT + ML) Integrate ChatGPT + ML to power: Real-time summaries of development data per sector and ward Forecast and prediction for: Maintenance needs Future project opportunities Priority upgrades Performance-based alerts Audit intelligence: Show where spending doesnβt match expected development Generate narrative insights readable to the public (e.g. "Marachi East has the highest growth in water projects...") ποΈ SYSTEM MODULES & DASHBOARDS π© MP DASHBOARD (Confidential & Secure) Approve or reject new projects Access constituency-wide analytics with filters by: Ward Sector Budget Status (Pending, Progressing, Completed) View and export: Colored graphs, pie charts, line graphs, and interactive data dashboards Generate downloadable audit-grade PDF reports Manual refresh feature to get latest real-time updates π¨ ADMIN DASHBOARD Add and manage: New projects (default to PENDING status) Sector, Ward, Contractor, Budget, Timeline Add ward-specific data Assign projects to any of the 11 development sectors Manages: Employee records (via Management Portal) Visitor logs (via Visitor Interface) Export and print reports Can manually refresh to sync project data π¦ USER DASHBOARD (Public) View only approved projects Read-only access with sector and ward filters View: Project status Development history AI-generated summaries from ChatGPT Fully visual dashboard with graphs and real-time data Manual refresh included π WARD DASHBOARDS (6 Independent Units) Create independent, unique dashboards for each of the following: MARACHI EAST MARACHI NORTH MARACHI WEST CENTRAL MARACHI KINGANDOLE LUGULU Each dashboard must: Display only data relevant to that ward Allow manual data refresh Show unique statistics and predictions per ward: Sectoral progress Budget use Pending vs completed projects ML-powered recommendations Charts and graphs must not mirror other wards; they must be unique per ward π¨βπΌ MANAGEMENT PORTAL (Employee System) Add and manage constituency staff Assign staff to roles or projects Track: Attendance Duty station (ward or HQ) Position and responsibilities Generate staff reports and performance reviews Export employee summaries in PDF π§Ύ VISITOR INTERFACE Register visitors with: Name ID or Passport Purpose of visit Date/time in and out Office or ward visited Create a searchable visitor log Export logs as PDF reports for records ποΈ PROJECT CLASSIFICATION SECTORS Each project must be categorized under one of the following: EDUCATION HEALTH WATER INFRASTRUCTURE INSTITUTIONS ENERGY TECHNOLOGY AGRICULTURE DIGITAL ECONOMY ROADS GENERAL DEVELOPMENT Each dashboard should allow filtering by sector + status. π VISUAL ANALYTICS AND REPORTS Use dynamic charts (Chart.js, ApexCharts, or D3.js): Pie charts for sector budgets Line graphs for project timelines Bar charts for progress by ward Allow real-time data updates with a manual refresh tab Generate printable PDF reports on demand from any dashboard βοΈ TECH RECOMMENDATIONS (Optional) Module Tech Suggestion Frontend React.js + Tailwind CSS Backend Node.js (Express) or Django Charts Chart.js or ApexCharts AI Integration ChatGPT API + Python ML (scikit-learn) Auth System JWT, bcrypt (hashed passwords) Database PostgreSQL or MySQL PDF Export jsPDF, Puppeteer or ReportLab Time & Date Day.js or Moment.js (EAT timezone) β
FINAL REQUIREMENTS CHECKLIST Feature Status Kenyan flag-colored, professional UI β
Role-based login with secret code β
Machine Learning + ChatGPT insights β
Audit-ready project tracking β
Ward-specific dashboards (6) β
Manual data refresh in all dashboards β
Project classification in 11 sectors β
MP-only approval of new projects β
Employee management portal β
Visitor management interface β
PDF reporting (on-demand) β
Real-time EAT date and time β
Full responsiveness & cross-device support - Initial Deployment
-
initial commit