From 2c17e37ebca914e5b7c45da7649ffc36e492200d Mon Sep 17 00:00:00 2001
From: Gaurav Kumar <166138317+GauravK1704@users.noreply.github.com>
Date: Mon, 17 Nov 2025 20:29:07 +0530
Subject: [PATCH] Revise README formatting and content
Updated README.md to enhance formatting and content clarity.
---
README.md | 575 +++++++++++++-----------------------------------------
1 file changed, 134 insertions(+), 441 deletions(-)
diff --git a/README.md b/README.md
index a9bb338..bb7564f 100644
--- a/README.md
+++ b/README.md
@@ -1,513 +1,206 @@
+
-
-
๐ Report Bug
- โข
+
-

-
-
๐ Overview
+---
-> **SaralSeva** is a web-based full stack application designed to streamline the application and grievance resolution process for rural government schemes. This platform offers user-friendly features for users to apply for schemes, track their progress, and receive updates, as well as powerful tools for administrators and employees to manage scheme applications, monitor performance, and communicate effectively.
-
-

+# ๐ Overview
+> **SaralSeva** is a full-stack web application that simplifies applying for government schemes and resolving grievances at the Gram Panchayat level.
-

+
-

-
-
๐ Project Insights
-
-
-
-
- | ๐ Stars |
- ๐ด Forks |
- ๐ Issues |
- ๐ Open PRs |
- ๐ Closed PRs |
- ๐ ๏ธ Languages |
- ๐ฅ Contributors |
-
-
-
-
-  |
-  |
-  |
-  |
-  |
-  |
-  |
-
-
-
-

-
-
๐ฎ๐ณ The Vision: Digitising Governance at the Gram Panchayat Level
-
-SaralSeva strengthens grassroots governance to build a more inclusive and transparent Digital India:
-
-- ๐ 24/7 digital access to services โ fewer in-person visits
-- ๐ Endโtoโend tracking with unique IDs for trust and accountability
-- โ๏ธ Automated workflows to reduce delays and speed up delivery
-- ๐ Centralised scheme information that empowers citizens
-- ๐ฅ Clear roles for staff and structured grievance redressal
-
-

-
-
๐ค Why SaralSeva?
-
-SaralSeva is built to make governance accessible, transparent, and efficient for everyone:
-
-- ๐งญ One-stop platform: apply for schemes, file grievances, and track updates in one place
-- ๐ Full transparency: real-time status, clear next steps, and notifications at each stage
-- โ๏ธ Streamlined processing: automated workflows reduce manual delays and errors
-- ๐ก๏ธ Secure by design: role-based access, auditable actions, and safe data handling
-- ๐ฑ Citizen-first experience: simple forms, PDF receipts, and multilingual-ready UI
-
-

-
-
๐ฏ Mission
+---
-Our mission is to make essential public services simple, transparent, and accessible for every citizen:
+# ๐ Project Insights
-- ๐ช Accessibility first: 24/7 digital access to schemes and grievance services
-- ๐ Transparency by design: end-to-end tracking and clear status at each stage
-- โ๏ธ Efficiency at scale: automated, auditable workflows that reduce delays
-- ๐ค Citizen empowerment: clear guidance, easy applications, and timely updates
-- ๐ก๏ธ Reliability: secure data handling and role-based access for admins/employees
-
-
๐ Live Demo
-
-Experience SaralSeva live here:
-๐ [](https://saralseva.vercel.app/)
-
-

-
-[](https://github.com/ellerbrock/open-source-badges/)
-
-
-
-
-
-
-
+
-
+---
-

+# ๐ฎ๐ณ Vision โ Digitising Rural Governance
+- 24/7 digital access to services
+- End-to-end tracking
+- Automated workflows
+- Citizen empowerment
+- Centralised scheme information
-
๐ Key Features
+---
-SaralSeva is built on a robust three-tier architecture, providing distinct, secure, and feature-rich portals for each user role.
+# ๐ค Why SaralSeva?
+- One-stop portal
+- Real-time notifications
+- Secure authentication
+- PDF receipts
+- Mobile & multilingual
-### ๐ค **Citizen Portal**
+---
-- ๐ **User Registration & Authentication**: Secure registration and login system with JWT and OTP verification via Twilio.
-- ๐ **Scheme & Grievance Applications**: Users can easily apply for government schemes and submit grievances through intuitive forms.
-- โฑ๏ธ **Real-time Status Tracking**: Users can track the progress of their applications and grievances with a unique ID.
-- ๐ **Personalised Dashboard**: A central place for users to view their application history and manage their profile.
-- ๐ **PDF Downloads**: Users can download their applications as PDFs via `jsPDF` for their records.
+# ๐ฏ Mission
+- Transparent
+- Accessible
+- Automated
+- User-first
-### ๐งโ๐ผ **Employee Portal**
+---
-- ๐ **Task-Oriented Dashboard**: A clear view of all assigned scheme applications (tickets) and grievances.
-- ๐ ๏ธ **Application Processing**: Tools to review applications, verify documents, and update statuses.
-- ๐ **Performance Insights**: Admins can track and visualise employee performance data.
-- ๐๐ฌ **Secure Messaging**: Internal chat system for communication with the admin.
+# ๐ Live Demo
+[](https://saralseva.vercel.app/)
-### ๐ก๏ธ **Admin Portal**
+---
-- ๐ **Comprehensive Dashboard**: A high-level overview of all platform activity, including application statistics and employee performance.
-- ๐๏ธ **Scheme Management**: Full control to add, update, and manage all available government schemes.
-- ๐ค **Automated Ticket Assignment**: Fair distribution of applications among employees.
-- โ
**Final Approval Authority**: Power to give the final approval or rejection for all applications.
-- ๐ข **Broadcast Announcements**: Create and display important updates for all citizens.
+# ๐ Badges
+
+
+
+
+
+
+
+
-

+---
-
๐ ๏ธ Technologies Used
+# ๐ธ Screenshots
+
+

+
-### Frontend
+---
-
-
-
-
-
+# ๐ Key Features
-### Backend
+## Citizen Portal
+- OTP login
+- Scheme + Grievance application
+- PDF downloads
+- Tracking dashboard
-
-
-
-
-
-
-
-
+## Employee Portal
+- Application review
+- Verification tools
+- Performance analytics
-### DevOps & Automation
+## Admin Portal
+- Analytics dashboard
+- Scheme management
+- Employee assignment
-
-
+---
-
+# ๐ Technologies
-
๐ค Automated Dependency Management
+### Frontend
+React ยท ShadCN ยท Tailwind ยท Vite ยท Vercel
-SaralSeva uses **GitHub Dependabot** for automated dependency updates and security vulnerability management:
+### Backend
+Node.js ยท Express.js ยท MongoDB ยท JWT ยท Cloudinary ยท Twilio
-- ๐ **Automatic security updates** - Immediate PRs for vulnerabilities
-- ๐
**Weekly dependency updates** - Scheduled maintenance every Monday
-- ๐ฏ **Smart grouping** - Related updates bundled together to reduce PR noise
-- ๐ท๏ธ **Auto-labeling** - Organized by module and update type
-- โก **Zero maintenance** - Works automatically in the background
+### DevOps
+GitHub Actions ยท Dependabot
-[๐ Learn more about our Dependabot setup](./DEPENDABOT.md)
+---
-

+# ๐ค Dependabot Automation
+- Auto security updates
+- Weekly dependencies
+- Smart grouping
+- Auto labeling
-
๐งญ Project Flowchart
+---
-
+# ๐งญ Flowchart
```mermaid
flowchart TD
- A[Citizen] --> B[Apply for Scheme / File Grievance]
+ A[Citizen] --> B[Apply / File Grievance]
B --> C[Employee Review]
C -->|Verified| D[Admin Decision]
C -->|More Info Needed| B
- D -->|Approved| E[Notification to Citizen]
- D -->|Rejected| E
- E --> F[Track Status / Download PDF]
-```
-
-
-
-
โ๏ธ Installation and Setup
-
๐ Prerequisites
-
-Ensure you have the following installed/configured:
-
-- ๐ข Node.js 18+ and npm
-- ๐ MongoDB (local or Atlas)
-- ๐ Environment variables for JWT, MongoDB URL
-- ๐ง Optional: Twilio (OTP), Cloudinary (media), Google OAuth Client ID
+ D -->|Approved/Rejected| E[Notify Citizen]
+ E --> F[Track Status / PDF]
-
-> The project is a monorepo containing four separate applications: `backend`, `user`, `employee`, and `admin`. Each must be set up and run independently.
-
-### Prerequisites
-
-Ensure you have the following installed:
-
-- **Node.js** and **npm**
-- **MongoDB** (local or a cloud instance like MongoDB Atlas)
-
-### 1. Clone the repository:
-
-```bash
+โ๏ธ Installation & Setup
+Clone Project
git clone https://github.com/eccentriccoder01/SaralSeva.git
cd SaralSeva
-```
-### 2\. Set up the Backend (`/backend`):
+Backend
-a. Navigate to the backend directory:
-
-```bash
cd backend
-```
-
-b. Create a `.env` file and add the following environment variables with your credentials:
-
-```env
-PORT=8000
-
-MONGODB_URL=YOUR_MONGODB_CONNECTION_STRING
-JWT_SECRET=YOUR_JWT_SECRET_KEY
-```
-
-Twilio Credentials (I haven't provided my Twilio credentials in the deployment, since it is paid, LOL)
-
-```bash
-TWILIO_ACCOUNT_SID=YOUR_TWILIO_SID
-TWILIO_AUTH_TOKEN=YOUR_TWILIO_AUTH_TOKEN
-TWILIO_PHONE_NUMBER=YOUR_TWILIO_PHONE_NUMBER
-```
-
-Cloudinary Credentials
-
-```bash
-CLOUDINARY_NAME=YOUR_CLOUDINARY_CLOUD_NAME
-CLOUDINARY_API_KEY=YOUR_CLOUDINARY_API_KEY
-CLOUDINARY_SECRET_KEY=YOUR_CLOUDINARY_API_SECRET
-```
-
-Firebase Credentials
-
-```bash
-FIREBASE_API_KEY=YOUR_FIREBASE_API_KEY
-FIREBASE_AUTH_DOMAIN=YOUR_FIREBASE_AUTH_DOMAIN
-FIREBASE_PROJECT_ID=YOUR_FIREBASE_PROJECT_ID
-FIREBASE_STORAGE_BUCKET=YOUR_FIREBASE_STORAGE_BUCKET
-FIREBASE_MESSAGING_SENDER_ID=YOUR_FIREBASE_MESSAGING_SENDER_ID
-FIREBASE_APP_ID=YOUR_FIREBASE_APP_ID
-FIREBASE_MEASUREMENT_ID=YOUR_FIREBASE_MEASUREMENT_ID
-```
-
-Google Cloud Console (Google OAuth Client ID)
-
-1. Application type: Web Application
-2. Authorized JavaScript origins:
- - http://localhost:5173 (local development)
- - Any other frontend URI you use
-3. Redirect URIs: Not needed for this setup
-
-```bash
-GOOGLE_CLIENT_ID=YOUR_GOOGLE_OAuth_CLIENT_ID
-```
-
-c. Install dependencies and run the server:
-
-```bash
npm install
npm start
-```
-
-### 3\. Set up the Frontends (`/user`, `/employee`, `/admin`):
-> **Note:** The following `.env` configuration is **only for the `/user`**:
-
-```bash
-VITE_API_BASE_URL=http://localhost:8000 # URL of your backend
-VITE_GOOGLE_CLIENT_ID=YOUR_GOOGLE_OAuth_CLIENT_ID # Must match backend
-```
-
-> Repeat the following steps for each frontend directory (`user`, `employee`, and `admin`) in a **separate terminal**.
-
-a. Navigate to a frontend directory:
-
-```bash
-# In a new terminal
-cd user
-```
-
-b. Install dependencies and run the development server:
-
-```bash
+Frontends
+cd user / employee / admin
npm install
npm run dev
-```
-

-
-
๐ ๏ธ Troubleshooting
-- โ Node version errors: check `node -v` (need v18+)
-- ๐ Missing/incorrect .env: ensure `MONGODB_URL`, `JWT_SECRET`, optional third-party keys
-- ๐๏ธ MongoDB connection failed: allow IP in Atlas; verify user roles and connection string
-- ๐ Port in use: change ports or kill process using `netstat -ano | findstr :8000`
-- ๐ CORS errors: verify frontend origin is allowed in server CORS config
+๐ ๏ธ Troubleshooting
-

+Node version mismatch
-## Issue Creation โด
+Missing .env variables
-Report bugs and issues or propose improvements through our GitHub repository's "Issues" tab.
+MongoDB IP access issue
-## Contribution Guidelines ๐
+CORS errors
-- Firstly Star(โญ) the Repository
-- Fork the Repository and create a new branch for any updates/changes/issue you are working on.
-- Start Coding and do changes.
-- Commit your changes
-- Create a Pull Request which will be reviewed and suggestions would be added to improve it.
-- Add Screenshots and updated website links to help us understand what changes is all about.
-
-- Check the [CONTRIBUTING.md](CONTRIBUTING.md) for detailed steps...
-
-

-
-## Contributing is fun๐งก
-
-We welcome all contributions and suggestions!
-Whether it's a new feature, design improvement, or a bug fix - your voice matters ๐
-
-Your insights are invaluable to us. Reach out to us team for any inquiries, feedback, or concerns.
-
-

-
-
๐ Acknowledgments
-
-- Thanks to all contributors of this project
-- Special shoutout to **GirlScript Summer of Code (GSSoCโ25)** for the amazing community and support!
-- Built with dedication, collaboration, and lots of chai
-
-

-
-
-
-- **Developed by [Eccentric Explorer](https://eccentriccoder01.github.io/Me)**
-- **GitHub Issues**: [Report bugs or request features](https://github.com/eccentriccoder01/SaralSeva/issues)
-- **Email**: Contact the maintainers for collaboration opportunities
-
-_Feel free to reach out with any questions or feedback!_
-
-

-
-
๐คHow to Contribute
-
-We love contributions from the community! Whether it's a bug report, a new feature, or a documentation improvement, we appreciate your help.
-
-**_How to Contribute_**
-
-1. **Fork the repository** and create a new branch for your changes.
-2. **Make your changes** and ensure everything is working as expected.
-3. **Submit a pull request** with a clear description of your changes.
-
-**_Found a Bug?_**
-
-- Check the [issue tracker](https://github.com/eccentriccoder01/SaralSeva/issues) to see if the bug has already been reported.
-- If not, open a new issue and provide as much detail as possible.
-
-**_Have a Feature Idea?_**
-
-- We'd love to hear it! Open an issue to discuss your idea.
-
-

-
-
๐ค Contributing
-
-We welcome contributions from developers of all skill levels! Here are some ways you can contribute:
-
-### Ways to Contribute
-
-- ๐ Bug fixes - Help us identify and fix bugs
-- โจ New features - Suggest and implement new functionality
-- ๐ Documentation - Improve our docs and guides
-- ๐จ UI/UX improvements - Make the platform more user-friendly
-- ๐ง Performance optimizations - Help make SaralSeva faster and more efficient
-- ๐ Translations - Help make SaralSeva accessible in more languages
-- ๐ฑ Mobile responsiveness - Improve the mobile experience
-- ๐ Security enhancements - Help keep user data safe
-
-_Thank you to everyone who has made SaralSeva better! ๐_
-
-

-
-
๐ Code of Conduct
-
-Please refer to the [`Code of Conduct`](https://github.com/eccentriccoder01/SaralSeva/blob/main/CODE_OF_CONDUCT.md) for details on contributing guidelines and community standards.
-
-

-
-
๐ค๐ค Contribution Guidelines
-
-We love our contributors! If you'd like to help, please check out our [`CONTRIBUTE.md`](https://github.com/eccentriccoder01/SaralSeva/blob/main/CONTRIBUTING.md) file for guidelines.
-
-> Thank you once again to all our contributors who has contributed to **SaralSeva!** Your efforts are truly appreciated. ๐๐
-
-
-
-[](https://github.com/RhythmPahwa14/eccentriccoder01/SaralSeva/contributors)
-
-
-
-
-
-
-
-
-See the full list of contributors and their contributions on the [`GitHub Contributors Graph`](https://github.com/eccentriccoder01/SaralSeva/graphs/contributors).
-
-
-
-
-
Show some
by starring this awesome repository!
-
-
-
-

-
-
๐ก Suggestions & Feedback
-
-Feel free to open issues or discussions if you have any feedback, feature suggestions, or want to collaborate!
-
-

-
-
๐ Show Your Support
-
-_If you find SaralSeva project helpful, give it a star! โญ to support more such educational initiatives:_
-
-- โญ **Starring the repository**
-- ๐ฆ **Sharing on social media**
-- ๐ฌ **Telling your friends and colleagues**
-- ๐ค **Contributing to the project**
-
-

-
-
๐ License
-
-This project is licensed under the MIT License - see the [`License`](https://github.com/eccentriccoder01/SaralSeva/blob/main/LICENSE) file for details.
-
-

-
-
โญ Stargazers
-
-
-
-
-
-
๐ด Forkers
-
-
+๐ค Contributing
-
+Fork
-
Give us a Star and let's make magic! 
+Create branch
-
-
-
+Commit
-
+PR
-
๐จโ๐ป Built with โค๏ธ by SaralSeva Team
-
- Open an Issue | ๐ Star on GitHub | ๐ Live Demo
+Follow guidelines
-

+๐ Acknowledgments
-
-
- โฌ๏ธ Back to Top
-
-
-
+Contributors
-> Ready to show off your coding achievements? Get started with **SaralSeva** today! ๐
+GSSoCโ25 community
-

+โญ Stargazers
+
+๐ด Forkers
+
+โจ Built with โค๏ธ by Team SaralSeva
+
โฌ๏ธ Back to Top
```