NERAP Cloud — Judge Testing Guide

Everything you need to test the platform as an admin and as a user.

Video Walkthrough

Full system walkthrough — admin panel, public map, and WhatsApp flow.

Demo Credentials
Admin Emailadmin@nerap.cloud
Admin Passwordnerap2026
WhatsApp Number+254738162126
Testing as Admin
  1. Login: Click "Moderator Login" in the top navbar (or visit auth_login.php). Enter the admin credentials above.
  2. Dashboard: After login you'll see the admin dashboard with live counters and charts mirroring the public homepage.
  3. Facilities CRUD: Go to Facilities in the sidebar. Add a new facility (e.g. "Kenyatta National Hospital" with coordinates latitude -1.301, longitude 36.807). Edit or delete existing facilities. Changes appear instantly on the public map.
  4. Resource Types CRUD: Go to Resource Types. Add a new resource (e.g. category "Oxygen", subtype "Cylinders", synonyms "oxygen,cylinders,oksijeni"). These resources appear in the public filter dropdown and WhatsApp menu.
  5. Link Resources to Facilities: In Facilities, click a facility and assign resources with a stock status (Confirmed / Low / Out / Unverified). This populates the map markers and WhatsApp search results.
  6. Moderation Queue: Go to Moderation Queue. Any stock reports submitted via WhatsApp or the web form appear here as pending. Approve or reject them. Approving a report updates the facility's stock status and triggers instant alert notifications to subscribers.
  7. Subscribers: Go to Subscribers to view all users who subscribed to alerts (via WhatsApp or the web form). You can filter by channel, region, or resource.
  8. Broadcast Alert: Go to Broadcast Alert. Compose a message, select a region and/or resource scope, and send it to all matching subscribers via WhatsApp and/or email.
  9. Admin Users: Go to Admin Users (super_admin only). Add new moderators or admins. Assign roles and regions.
Testing as a Public User (Web)
  1. Live Map: On the homepage, use the filter bar to filter by resource type, region, or stock status. Click map markers for facility details, phone numbers, and directions.
  2. Facility List: The right sidebar shows facility cards. Click a card to pan/zoom the map to that facility.
  3. Real-Time Analytics: Scroll down to see Chart.js dashboards — stock trends, status breakdown doughnut, regional comparison, and alert activity. These update every 30 seconds via AJAX polling.
  4. Report Stock: Click "Report Stock" in the navbar. Select a facility (or type a new name), choose a resource, and set the stock status. Your report goes to the moderation queue for admin approval.
  5. Subscribe to Alerts: Click "Get Alerts" in the navbar. Choose WhatsApp, email, or both. Optionally filter by region and resource. You'll be notified when stock status changes.
Testing via WhatsApp

Send a WhatsApp message to +254738162126 and follow the numbered menu:

  1. Main Menu: Send MENU or HI. You'll receive:
    👋 Welcome to NERAP Cloud!
    
    0️⃣ Search Resources
    1️⃣ Report Stock Update
    2️⃣ Subscribe to Alerts
    
    Reply with a number:
  2. Search Resources: Reply 0. You'll get a numbered list of all resource types. Reply with a number (e.g. 1) to see which facilities stock that resource, with status, phone, and Google Maps links.
  3. Report Stock: Reply 1. Select a facility from the numbered list (or press 0 to type a custom name). Then select a resource from the numbered list. Then choose stock status: 1 = Confirmed, 2 = Low, 3 = Out. Your report enters the moderation queue.
  4. Subscribe to Alerts: Reply 2. Select a resource from the numbered list. You're now subscribed — you'll receive a WhatsApp message when that resource's stock status changes at any facility.
  5. Reset Anytime: Send MENU or RESET at any point to return to the main menu.
Tech Stack
Back to Homepage