Skip to content

nirjara-29/traffic-violation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🚨 Traffic Violation Reporting System

A full-stack web application for reporting and managing traffic violations with real-time evidence submission, geolocation tracking, and admin-side monitoring. The system bridges the gap between citizens and law enforcement, enabling transparent, efficient reporting of traffic offenses.

πŸ“Œ Features

  • πŸš— User Reporting: Submit traffic violation reports with photo evidence and location.
  • πŸ“ Real-time Geolocation: Automatically capture user's location using the Geolocation API.
  • πŸ“· Secure Image Uploads: Upload image evidence securely using Firebase Storage.
  • πŸ” Authentication: Firebase-based auth for users and admin roles.
  • 🧾 Admin Dashboard: Review, approve, and manage reports with plate evidence.
  • πŸ”Ž (Optional) Plate Detection: Integration-ready for automated license plate recognition.

πŸ›  Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js, Express.js
  • Database & Storage: Firebase (Authentication, Firestore, Storage)
  • APIs: Geolocation API, Firebase SDK
  • Tools: Git, GitHub, Postman

πŸš€ Getting Started

πŸ”§ Prerequisites Make sure you have the following installed: Node.js Firebase CLI Git

πŸ’» Run Locally

Clone the repository

git clone https://github.com/nirjara-29/traffic-violation.git cd traffic-violation

Set up backend:

cd backend npm install node server.js

Open frontend In your browser, open the index.html file located in the /frontend directory

About

Traffic Violation Reporting System is a traffic violation reporting app with frontend & backend integration, secure image uploads via Firebase, and real-time location tracking using Geolocation API. Built an admin dashboard for managing reports with evidence submission and automated plate detection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors