Skip to content

negimox/nagrik_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure Report Dashboard with AI Integration

This application provides a comprehensive platform for citizens and authorities to report, manage, and analyze infrastructure issues such as potholes, broken streetlights, and other civic problems. It integrates advanced AI capabilities to enhance issue detection and management.

Core Features

1. AI-powered Issue Detection

  • Google Gemini AI integration for image analysis
  • Automatic detection of infrastructure issues from photos
  • Classification of issue types, condition assessment, and severity rating
  • Detailed descriptions generated for detected issues

2. Maintenance Management System

  • Schedule maintenance tasks for detected issues
  • Calendar-based view of all maintenance activities
  • Status tracking (scheduled, in-progress, completed, cancelled)
  • Automatic priority assignment based on AI severity assessment

3. Notification System

  • Real-time alerts for maintenance activities
  • Status change notifications
  • Persistent storage of notification history
  • User-friendly notification management

4. Reporting System

  • User-friendly interface for submitting infrastructure reports
  • Image upload with AI analysis
  • Form auto-population based on AI detection
  • Detailed report tracking and management

Technical Overview

Technologies Used

  • Frontend: Next.js, React, TypeScript, Tailwind CSS
  • AI: Google Gemini 2.0 Flash multimodal model
  • UI Components: Shadcn/UI
  • Authentication: Firebase Auth
  • Database: Firebase Firestore

Documentation

For more detailed information, refer to our documentation files:

Getting Started

First, run the development server:

npm run dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

Environment Variables

Create a .env.local file with the following variables:

NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_api_key
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_auth_domain
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_storage_bucket
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id

About

Public nagrik deployment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published