Skip to content

mrdeyroy/sevalink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌍 SevaLink – Smart Rural Public Service Request & Tracking Platform

πŸš€ Elite Hack 1.0 Hackathon Project πŸ‘¨β€πŸ’» Team: GenXCoders 🎯 Theme: Digital Civic Governance


πŸ“Œ Problem Statement

In many rural and semi-urban areas, citizens still depend on manual and inefficient systems to report civic or infrastructure problems.

Common issues include:

  • Citizens must physically visit government offices
  • Complaints often go undocumented
  • No transparent tracking system
  • Field workers are not accountable
  • Citizens rarely know who is handling their issue
  • Poor internet connectivity prevents using complex digital systems

Examples of problems people face daily:

  • 🚰 Water pipeline leaks
  • ⚑ Electricity outages
  • πŸ—‘ Garbage accumulation
  • πŸ›£ Broken roads
  • 🏒 Delays in public services

These challenges lead to slow response times, lack of accountability, and poor governance transparency.


πŸ’‘ Our Solution – SevaLink

SevaLink is a community operations platform that connects citizens, administrators, and field workers into a single digital ecosystem.

The system enables a complete lifecycle for issue reporting and resolution.

Citizens can

βœ” Report civic problems βœ” Upload photo evidence βœ” Track request status βœ” View assigned worker details

Administrators can

βœ” Monitor all complaints in one dashboard βœ” Assign workers efficiently βœ” Track resolution progress βœ” Analyze issue trends and worker performance

Field Workers can

βœ” View assigned tasks βœ” Navigate to issue locations βœ” Upload proof of work βœ” Mark issues as resolved


⭐ Key Features

πŸ” Secure Authentication

  • Email & mobile based registration
  • Google OAuth login
  • Role-based authentication (Citizen / Worker / Admin)

πŸ—Ί Interactive Map Tracking

  • Complaints visualized on OpenStreetMap
  • Enables location-based issue monitoring

πŸ“Έ Evidence Upload

Workers can upload photo proof after completing tasks.

πŸ“Š Admin Analytics Dashboard

Admins can track:

  • Issue categories
  • Worker performance
  • Resolution statistics

πŸ‘¨β€πŸ‘©β€πŸ‘§ Simple User Experience

Designed for low digital literacy users

  • Mobile-first interface
  • Large buttons
  • Minimal steps

πŸ‘₯ Target Users

πŸ§‘ Citizens

  • Report infrastructure problems
  • Track complaint resolution

πŸ› Administrators

  • Manage complaints
  • Assign field workers
  • Monitor performance

πŸ‘· Field Workers

  • Receive tasks
  • Upload completion evidence
  • Update status

🌟 Impact

Social Impact

βœ” Improves transparency in public services βœ” Strengthens trust between citizens and authorities βœ” Empowers rural communities

Economic Impact

βœ” Reduces travel cost for citizens βœ” Improves worker efficiency

Environmental Impact

βœ” Reduces paper-based complaint systems βœ” Faster sanitation and waste issue resolution


βš™οΈ Technology Stack

Layer Technology
Frontend React.js, Vite, TailwindCSS
Routing React Router
Backend Node.js, Express.js
Database MongoDB (Mongoose ORM)
Authentication JWT, Google OAuth
File Upload Multer
Email Nodemailer
SMS Fast2SMS
Maps Leaflet (OpenStreetMap)
Offline Storage IndexedDB

πŸ— System Architecture

Citizen Workflow

1️⃣ Register / Login 2️⃣ Report civic issue 3️⃣ Upload image evidence 4️⃣ Track issue progress


Admin Workflow

1️⃣ View all complaints 2️⃣ Assign worker 3️⃣ Monitor progress 4️⃣ Analyze performance metrics


Worker Workflow

1️⃣ Worker login 2️⃣ View assigned tasks 3️⃣ Upload work proof 4️⃣ Mark task completed


πŸ“Š Why SevaLink?

Feature Traditional Systems SevaLink
Online Complaint Tracking ❌ βœ…
Map Based Issue Monitoring ❌ βœ…
Worker Accountability ❌ βœ…
Real-time Status Updates ❌ βœ…
Data Analytics ❌ βœ…

🌍 Market Opportunity

India has 600,000+ villages, many of which still use manual complaint systems.

SevaLink can scale through:

  • Panchayat governance platforms
  • Municipal complaint systems
  • Government SaaS solutions
  • CSR technology initiatives

πŸ“Έ Project Screenshots


πŸ”— Project Links

GitHub Repository

(https://github.com/mrdeyroy/sevalink.git)

Live Demo

(https://sevalink-frontend.onrender.com)


πŸš€ Getting Started

Follow these instructions to run the project locally.


πŸ“¦ Prerequisites

Make sure you have:

  • Node.js (v18+)
  • MongoDB (local or MongoDB Atlas)

πŸ“₯ Installation

Clone the repository:

git clone https://github.com/mrdeyroy/sevalink.git 

cd sevalink

Install dependencies:

# Install backend dependencies
cd server
npm install

# Install frontend dependencies
cd ../client
npm install

βš™οΈ Environment Variables

Create a .env file inside /server

Example:

PORT=5000

MONGO_URI=mongodb+srv://<username>:<password>@cluster0.mongodb.net/sevalink

JWT_SECRET=your_super_secret_key

GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret

CLIENT_URL=http://localhost:5173

EMAIL_USER=your_nodemailer_email@gmail.com
EMAIL_PASS=your_email_app_password

FAST2SMS_API_KEY=your_fast2sms_api_key

▢️ Running the Application

Run backend and frontend separately.

Start Backend

cd server
npm start

Backend runs on:

http://localhost:5000

Start Frontend

cd client
npm run dev

Frontend runs on:

http://localhost:5173

πŸ”‘ Role Management

By default, new users register as Citizen.

To create an Admin:

  1. Register normally
  2. Open MongoDB
  3. Find your user in users collection
  4. Change role from:
"role": "citizen"

to

"role": "admin"

Admin can then create worker accounts.


πŸ‘· Worker Accounts

Workers are created by Admin.

Admin provides:

  • Name
  • Mobile number
  • Temporary password

Workers login via:

/worker-login

Workers must change their password during their first login.


πŸ‘¨β€πŸ’» Team – GenXCoders

We are passionate developers focused on building technology solutions for real societal problems.

SevaLink aims to create transparent, accessible, and efficient civic governance systems for rural communities.


πŸš€ Vision

To build the digital backbone of rural governance, enabling citizens to easily report and track civic issues while empowering administrators with real-time data and insights.


πŸ“œ License

MIT License


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages