From the workbench
UHV
A modern, full-stack web application for transparent governance and community issue management in rural panchayats. Built for Velookara Panchayat, Kadupaserry, Thrissur.
From the repository
Read on GitHubποΈ Smart Rural Issue Management System
Developer guide Β· Source reference Β· Contributing
A modern, full-stack web application for transparent governance and community issue management in rural panchayats. Built for Velookara Panchayat, Kadupaserry, Thrissur.
β¨ Features
For Citizens
- π Secure Authentication - Register and login with JWT-based authentication
- π Report Issues - Submit issues with categories, priorities, locations, and images
- π Track Progress - Monitor your submitted issues in real-time
- π Stay Informed - View official notices and announcements
- π Report Stray Dogs - Dedicated module for stray animal reporting
For Administrators
- π¨βπΌ Admin Dashboard - Comprehensive console for issue management
- β Update Status - Change issue status (pending β in-progress β resolved β closed)
- π₯ Assign Issues - Assign issues to staff members
- π’ Create Notices - Post system-wide announcements with priorities
- π Analytics - View statistics and track resolution rates
General Features
- π± Fully Responsive - Works seamlessly on desktop, tablet, and mobile
- π¨ Modern UI - Beautiful interface with Tailwind CSS and shadcn/ui
- π Role-Based Access - Separate interfaces for citizens and admins
- β‘ Real-time Updates - Live data synchronization with backend
- οΏ½οΏ½ RESTful API - Clean, documented API architecture
π Quick Start
Prerequisites
- Node.js 18+ and npm
- Supabase account (for PostgreSQL database)
Installation
-
Install frontend dependencies
npm install -
Install backend dependencies
cd backend && npm install && cd .. -
Configure environment variables
- Create
.envin root with:VITE_API_URL=http://localhost:5000/api - Create
.envin backend folder with Supabase credentials
- Create
-
Initialize database
- Run
backend/src/config/schema.sqlin Supabase SQL Editor
- Run
-
Start servers
# Terminal 1: Backend (port 5000) cd backend && npm run dev # Terminal 2: Frontend (port 3000) npm run dev
π Technology Stack
Frontend: React 18 β’ TypeScript β’ Vite β’ Tailwind CSS v4 β’ shadcn/ui
Backend: Node.js β’ Express β’ PostgreSQL (Supabase) β’ JWT β’ bcrypt
π Key Files
backend/src/config/schema.sql- Database schemabackend/make-admin.sql- Create admin usersbackend/update-constraints.sql- Update DB constraintsTESTING_GUIDE.md- Testing instructionsPROJECT_STRUCTURE.md- Detailed project structure
π API Endpoints
POST /api/auth/register- RegisterPOST /api/auth/login- LoginGET /api/issues- Get issuesPOST /api/issues- Create issueGET /api/notices- Get notices
π Scripts
npm run dev # Start development server
npm run build # Build for production
npm run lint # TypeScript check
Made with β€οΈ for transparent rural governance
Developer guide Β· Source reference Β· Verification and operations
Keep exploring.
Back to the project library