Skip to content

VishakhaVB/crowdshield-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ CrowdShield – Frontend

Smart Crowd Management & Pilgrim Guidance System

CrowdShield is a modern, scalable, safety-first frontend web application designed to monitor, analyze, and guide crowd movement during large-scale public events such as pilgrimages, festivals, rallies, and mass gatherings.

The system provides:

  • Real-time authority dashboards for monitoring crowd density & flow
  • Pilgrim-friendly guidance interfaces for safe navigation
  • Data-driven UI built for future AI & real-time integrations

🌐 Live Demo
πŸ”— https://crowdshield-system.netlify.app


🎯 Problem Statement

Large public gatherings such as religious pilgrimages, festivals, political rallies, and sporting events face serious challenges:

  • ❌ Overcrowding & bottlenecks
  • ❌ Poor real-time crowd visibility
  • ❌ Delayed emergency response
  • ❌ Lack of clear navigation for attendees
  • ❌ Manual & fragmented decision-making

These issues often result in panic situations, stampedes, confusion, and safety risks.


βœ… Solution Overview

CrowdShield solves these challenges by providing a centralized, map-driven, real-time-ready frontend system that:

  • Helps authorities monitor crowd conditions
  • Guides pilgrims safely through routes
  • Enables quick decision-making
  • Is scalable, modular, and API-driven

The frontend is designed to seamlessly integrate with backend services, AI models, and live data sources.


πŸš€ Key Features

🧭 Authority Dashboard

  • Live crowd overview
  • Zone-based density visualization
  • Risk-level indicators (Safe / Moderate / Busy / Avoid)
  • Flow rate & crowd statistics
  • Alert & evacuation control panel
  • Field officer coordination UI

πŸ§‘β€πŸ€β€πŸ§‘ Pilgrim Guidance Interface

  • Live area crowd status
  • Suggested safe paths
  • Estimated waiting times
  • Visual map-based guidance
  • Emergency contact access (Police & Medical)
  • Simple, multilingual UI

🌍 General Features

  • βš›οΈ Built with React + Vite for performance
  • 🎨 Tailwind CSS for modern & responsive UI
  • 🌐 Multi-language support (i18n)
  • πŸ”— API-ready architecture
  • πŸ“± Fully responsive (mobile / tablet / desktop)
  • 🧩 Modular & scalable component structure
  • πŸ” Authentication-ready design

πŸ–₯️ Screens Overview

πŸ›οΈ Authority Dashboard

  • Real-time crowd density map
  • Zone monitoring
  • Alert & evacuation controls

🚢 Pilgrim Guidance Screen

  • Crowd-safe navigation
  • Live movement status
  • Suggested paths with wait times

(All data shown is simulated / estimated for demo purposes)


πŸ› οΈ Tech Stack

Category Technology
Frontend Framework React
Build Tool Vite
Styling Tailwind CSS
Routing React Router
Localization i18n
API Handling Fetch / Axios (API-ready)
Maps Leaflet / OpenStreetMap
Deployment Netlify

πŸ“‚ Project Structure

client/
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ background.jpg
β”‚   └── vite.svg
β”‚
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ authority/
β”‚   β”‚   β”œβ”€β”€ pilgrim/
β”‚   β”‚   β”œβ”€β”€ layout/
β”‚   β”‚   └── ui/
β”‚   β”‚
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ Home.jsx
β”‚   β”‚   β”œβ”€β”€ Login.jsx
β”‚   β”‚   β”œβ”€β”€ AuthorityDashboard.jsx
β”‚   β”‚   └── PilgrimGuidance.jsx
β”‚   β”‚
β”‚   β”œβ”€β”€ services/
β”‚   β”‚   └── api.js
β”‚   β”‚
β”‚   β”œβ”€β”€ locales/
β”‚   β”œβ”€β”€ App.jsx
β”‚   └── main.jsx
β”‚
β”œβ”€β”€ vite.config.js
└── package.json

βš™οΈ Installation & Setup

Follow the steps below to run the CrowdShield Frontend locally on your system.

1️⃣ Clone the Repository

git clone https://github.com/VishakhaVB/crowdshield-frontend.git
cd crowdshield-frontend

2️⃣ Install Dependencies

npm install

3️⃣ Run the Application Locally

npm run dev

πŸ“ The application will be available at:

http://localhost:5173

##πŸ”— Backend Integration This frontend is fully API-driven and designed to integrate seamlessly with the CrowdShield Backend.


API Configuration Update the backend base URL in the following file:

src/config.js

Example Configuration:

API_BASE_URL = "https://your-backend-url/api";


  • ⚠️ Ensure the backend server is running before testing live or dynamic features.
  • πŸ” Security & Privacy
  • CrowdShield is designed with public safety and ethical data usage as top priorities.
  • 🚫 No personal user tracking
  • 🚫 No camera feeds or facial recognition
  • πŸ“Š Crowd data is estimated and aggregated
  • πŸ” Architecture supports role-based access control
  • 🧠 Designed for ethical AI and public safety systems


🎯 Use Cases

CrowdShield is ideal for managing and monitoring:

πŸ•Œ Religious events (Kumbh Mela, Yatra, Pilgrimages)

πŸŽ‰ Large public festivals & celebrations

🏟️ Stadiums and sports events

🚨 Emergency and disaster-prone crowd scenarios

πŸ›οΈ Government and municipal monitoring systems


πŸ“ˆ Future Enhancements

Planned upgrades and roadmap features include:

πŸ”΄ Real-time crowd density using IoT sensors

πŸ—ΊοΈ Live GPS-based route optimization

πŸ“Š Advanced analytics & insights dashboards

πŸ”” Emergency broadcast & alert system

πŸ€– AI-based crowd prediction & risk detection

πŸ” Full role-based access control (RBAC)

πŸ“‘ WebSockets for real-time data updates


images

image
image
image
image

πŸš€ Deployment

The CrowdShield Frontend is deployed on Netlify.

🌐 Production URL

https://crowdshield-system.netlify.app

About

CrowdShield is a responsive frontend for crowd safety and guidance during large events. It relies on a live backend for real-time data. Backend: https://crowdshield-backend.onrender.com (start backend before frontend).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors