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
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.
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.
- 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
- Live area crowd status
- Suggested safe paths
- Estimated waiting times
- Visual map-based guidance
- Emergency contact access (Police & Medical)
- Simple, multilingual UI
- βοΈ 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
- Real-time crowd density map
- Zone monitoring
- Alert & evacuation controls
- Crowd-safe navigation
- Live movement status
- Suggested paths with wait times
(All data shown is simulated / estimated for demo purposes)
| 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 |
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
Follow the steps below to run the CrowdShield Frontend locally on your system.
git clone https://github.com/VishakhaVB/crowdshield-frontend.git
cd crowdshield-frontend2οΈβ£ Install Dependencies
npm install
3οΈβ£ Run the Application Locally
npm run dev
π The application will be available at:
##π 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
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
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
The CrowdShield Frontend is deployed on Netlify.
π Production URL