RoadWatch is an AI-driven infrastructure monitoring and citizen complaint management platform.
- Citizen Complaint Management: Easily report road issues and track the status of complaints.
- AI Chatbot Assistant: Specialized AI assistant for navigating platform features and reporting civic issues.
- Interactive Dashboard: View reported road issues and statuses.
- Frontend: React, Next.js (or Vite)
- Backend: Node.js, Express, Serverless Functions
- Database/Auth: Supabase
- AI Integration: Groq LLM API
- Node.js (v18 or higher)
- npm or yarn
-
Clone the repository:
git clone <your-repository-url> cd RoadWatch
-
Install frontend dependencies:
cd frontend npm install -
Install backend dependencies:
cd ../backend npm install -
Environment Variables Configuration:
- In the
frontenddirectory, copy.env.exampleto.env(or create a new.envfile) and add your Supabase variables (e.g.,VITE_SUPABASE_URL,VITE_SUPABASE_ANON_KEY). - In the
backenddirectory, create a.envfile and add your backend API keys (like Groq API key and Supabase credentials).
- In the
-
Run the Development Servers:
- Open two terminal windows.
- Start the Frontend:
cd frontend npm run dev - Start the Backend:
cd backend npm start