๐ฃ๏ธ Road Inspection Dashboard
๐ Live Demo: Click here to view the project
A web dashboard designed for real-time visualization of Network Survey Vehicle (NSV) data during site inspections. Built as part of the NHAI Hackathon 2025 challenge.
โจ Features
๐ Excel Analysis Module
- Upload
.CSVor.XLSXfiles containing inspection data. - Extract key threshold values.
- Calculate:
- Number of cells exceeding threshold values.
- Number of cells exceeding user-defined values.
- Display results clearly with a clean and responsive UI.
๐ฅ Video Comparison Module
- Upload two videos (e.g. from road inspection cameras).
- Watch them side-by-side with synchronized play/pause controls.
- Visually compare road conditions (e.g. before/after inspections).
- Add bookmarks and notes for future reference.
๐จ UI Highlights
- NHAI branding with official logo.
- Elegant light-yellow background for visual comfort.
- Navy-blue header with centered alignment.
- Stylish buttons and structured layout.
- Pure CSS used via
App.cssandindex.cssโ no Tailwind or external CSS frameworks.
๐งฐ Tech Stack
| Tech | Purpose |
|---|---|
| React | Frontend UI |
| HTML/CSS (Vanilla) | Styling (App.css, index.css) |
| JavaScript | Logic and interactivity |
| ExcelJS / SheetJS | Excel/CSV parsing (if used) |
| HTML5 Video | Uploading and synchronized video playback |
๐ ๏ธ Getting Started
Prerequisites
- Node.js (v14 or above)
- npm or yarn
Installation
git clone https://github.com/your-username/nhai-inspection-dashboard.git
cd nhai-inspection-dashboard
npm install
npm run dev # or npm start if using Create React App
Then open:
http://localhost:5173
๐ Project Structure
bash
Copy
Edit
๐ฆ nhai-inspection-dashboard/
โโโ public/
โ โโโ images/nhai-logo.png # NHAI Logo
โโโ src/
โ โโโ components/
โ โ โโโ Dashboard.jsx # Main UI layout
โ โโโ App.css # Core styling
โ โโโ index.css # Global base styles
โ โโโ App.jsx # App entry point
โ โโโ main.jsx # ReactDOM root
โโโ package.json
โโโ README.md
๐งช How to Use Upload a .CSV or .XLSX file under Excel Analysis Features.
Use buttons to:
Show Threshold Values
Count cells exceeding default thresholds
Count cells exceeding a custom value (โXโ)
Upload two videos using Upload Video 1 and Upload Video 2.
Use synchronized Play/Pause controls to inspect footage.
Add Bookmarks and Notes for points of interest.
๐ง Future Improvements
Add map-based route overlays for better spatial alignment.
User login with authentication and role-based access.
Export summary reports as PDF.
๐ฉโ๐ป Contributor
Supreet Kaur โ Software Development Engineer
๐ License
This project is built for the NHAI Hackathon and is open for educational and non-commercial use.
(Leave a star if you found this interesting)
Log in or sign up for Devpost to join the conversation.