Smart Panchayat Admin is a centralized administrative dashboard designed to digitize Panchayat governance and agricultural supply chain operations. It enables seamless coordination between farmers agents shopkeepers and administrators through role-based access control. Administrators can manage users approve products monitor orders and oversee shipment workflows. Products added by shopkeepers require admin approval to ensure transparency and quality control. The platform supports multi-language access for better rural usability. Firebase Authentication is used for secure login and Firebase Cloud Messaging powers real-time notifications for orders invoices and shipment updates. Built with scalability security and low latency in mind the system modernizes rural administration and logistics.
Here're some of the project's best features:
- Role-Based Access Control Supports multiple user roles including Farmer Agent Shopkeeper and Admin with controlled permissions.
- Admin Dashboard Centralized dashboard to manage users products orders and shipment workflows efficiently.
- Product Management & Approval System: Shopkeepers can add product requirements which require admin approval before becoming visible to farmers.
- Order & Collection Management: Agents can collect products from farmers manage order buckets and place orders seamlessly.
- Shipment & Logistics Tracking: End-to-end shipment management from collection centers to multiple shops with delivery status updates and shop feedback.
- Firebase Authentication: Secure login using Firebase Authentication with support for password and OTP-based access.
- Real-Time Notifications: Firebase Cloud Messaging for instant notifications on orders invoices and shipment updates.
- Multi-Language Support: Enables users to access the platform in their preferred language.
- Search & Product Discovery: Fast product search and detailed product views for farmers and sellers.
- Scalable & Secure Architecture: Designed for high availability low latency and secure data handling.
1. Step 1: Clone the Repository
git clone https://github.com/devi5040/Smart-Panchayat-admin.git
cd Smart-Panchayat-admin
2. Step 2: Install Dependencies
npm install
3. Step 3: Configure Firebase Create a Firebase project and enable Authentication and Cloud Messaging. Add your Firebase credentials in a .env file:
NEXT_PUBLIC_FIREBASE_API_KEY=your_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
4. Step 4: Start the Development Server
npm run dev
5. Step 5: Open the Application
http://localhost:3000
Technologies used in the project:
- Frontend Framework: Next.js — React-based framework for building the admin dashboard UI
- Language: JavaScript / TypeScript (modern tooling for scalable code).
- Styling: Tailwind CSS — utility-first CSS for responsive and customizable layouts.
- Authentication & Notifications: Firebase — handles user authentication and real-time push notifications via Firebase Authentication and Firebase Cloud Messaging.
- Version Control: Git & GitHub (repo management and collaboration).