Skip to content

Repository files navigation

ImpactHub 🌍

A modern, offline-first NGO coordination platform designed to bridge the gap between central organizers and on-the-ground volunteers.

Designed originally for the Google Solution AI Challenge, ImpactHub addresses a critical data fragmentation issue in the social sector, enabling reliable field operations, intelligent task prioritization, resilient data collection, and community impact tracking even in environments with unstable or unavailable internet connectivity.


πŸ“‘ Table of Contents


🎯 The Objective

The Problem: Local social groups and NGOs collect a lot of important information about community needs through paper surveys and field reports. However, this valuable data is often scattered across different places, making it hard to see the biggest problems clearly. Additionally, traditional systems assume a constant internet connection, resulting in delayed reporting and synchronization issues in disaster zones or remote areas.

The Solution: ImpactHub is a powerful system that gathers scattered community information to clearly show the most urgent local needs. It features a smart matching system to quickly connect available volunteers with the specific tasks and areas where they are needed most, utilizing a resilient offline-first architecture that allows coordination to continue effectively regardless of network conditions.


✨ Key Features

Offline-First Field Operations

  • Local-first task management
  • Offline data collection
  • Sync queue simulation
  • Automatic reconnection handling
  • Conflict resolution workflows

Intelligent Resource Prioritization

  • Automated urgency scoring
  • Dynamic task prioritization
  • Assigned and unassigned request tracking
  • Visual risk indicators

Real-Time Operations Dashboard

  • Live data pipeline simulation
  • Field report monitoring
  • Community impact analytics
  • Volunteer performance insights

Volunteer Engagement System

  • Volunteer profiles
  • Achievement badges
  • Streak tracking
  • Contribution metrics
  • Leaderboards

Advanced Coordination Tools

  • Skill matching system
  • Needs heat map visualization
  • Field report processing
  • Regional coordination monitoring

Premium User Experience

  • Responsive dashboard design
  • Smooth animations with Framer Motion
  • Reusable component architecture
  • Type-safe frontend implementation

πŸ—οΈ Architecture Highlights

Frontend Architecture

  • React + TypeScript
  • Strict type-safe domain models
  • ViewModel-based UI architecture
  • Centralized mock data simulation
  • Reusable component-driven design
  • Backend-ready service architecture

Core Modules

  • Dashboard
  • Skill Matcher
  • Needs Heat Map
  • Urgency Scoring Engine
  • Data Pipeline
  • Offline Field Application
  • Volunteer Profile System

βš™οΈ Engineering & Simulation (Under the Hood)

To accurately demonstrate the platform's capabilities without a live backend, I engineered several complex frontend simulations. The UI is completely decoupled from hardcoded text and is entirely driven by state logic and mock data structures.

  • Automated Data Pipeline: The Data Pipeline dashboard utilizes setInterval logic to automatically generate and inject new field issues over time, simulating a live, high-traffic crisis center.
  • Offline Sync Simulation: The Offline Field App features a functioning local queue. When the "Offline" mode is toggled, form submissions are intercepted, stored in a local state array, and held. Once toggled back to "Online," the queue automatically unloads and syncs with the central mock database.
  • Dynamic Heatmap Randomizer: The community needs heatmap isn't a static image. It utilizes a randomization algorithm to generate coordinate clusters based on severity, visually demonstrating how the app maps dynamic field reports.
  • Strict State Management: All gamified elements (streaks, impact numbers) and urgency scores are derived dynamically from the mock dataset, ensuring the UI accurately reflects the underlying data layer.

πŸ“Έ Screenshots

Add screenshots here.

Dashboard

 DashBoard

Needs Heat Map

 HeatMap

Volunteer Profile

 Profile


πŸ› οΈ Tech Stack

Frontend

  • React 18
  • TypeScript
  • Vite
  • React Router DOM

Styling & UI

  • CSS
  • Framer Motion
  • Lucide React
  • Font Awesome

Planned Backend

  • Node.js
  • Express.js
  • MongoDB
  • JWT Authentication
  • REST APIs
  • WebSockets

πŸš€ Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn

Installation

Fork The repo

git clone https://github.com/your-username/impacthub.git
cd impacthub
npm install
npm run dev

Open:

http://localhost:5173

πŸ“‚ Project Structure

src/
β”œβ”€β”€ components/
β”œβ”€β”€ pages/
β”œβ”€β”€ layouts/
β”œβ”€β”€ data/
β”œβ”€β”€ types/
β”œβ”€β”€ routes/
β”œβ”€β”€ assets/
└── services/ (planned)

Key Directories

  • components β€” Reusable UI components
  • pages β€” Main application views
  • data β€” Mock backend simulation
  • types β€” TypeScript domain models
  • layouts β€” Shared layouts and navigation
  • routes β€” Application routing

πŸ”„ Current Development Status

Completed

  • Frontend UI
  • Offline-first simulation
  • Dashboard analytics
  • Volunteer profiles
  • Heat map visualization
  • Type-safe architecture
  • Component system

In Progress

  • Service layer abstraction
  • Backend integration planning

Planned

  • Express backend
  • MongoDB persistence
  • JWT authentication
  • WebSocket synchronization
  • AI-assisted volunteer matching

πŸ—ΊοΈ Roadmap

Phase 1 β€” Frontend Foundation βœ…

  • Dashboard
  • Volunteer profiles
  • Offline workflows
  • Data simulation

Phase 2 β€” Architecture Hardening βœ…

  • Type-safe models
  • ViewModel architecture
  • Backend-ready structure

Phase 3 β€” Backend Integration 🚧

  • REST APIs
  • MongoDB
  • Authentication
  • Role management

Phase 4 β€” Real-Time Operations 🚧

  • WebSocket synchronization
  • Live notifications
  • Real-time coordination

🀝 Contributing

Contributions, ideas, and feature suggestions are welcome.

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License.


Built with ❀️ to improve NGO coordination, volunteer engagement, and disaster response operations.

About

A comprehensive React dashboard built for NGO coordination and disaster response. It equips field workers with an offline-first application featuring intelligent sync queues and conflict resolution, while providing organizers with a real-time data pipeline and automated urgency scoring to assign tasks efficiently.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages