77.1 kB
RODRICKS1's picture
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
542eddd verified