A full-stack PHP & MySQL web application that digitizes the Public Distribution System (PDS) by enabling citizens to request ration online, verify identity, generate QR-based pickup tokens, and allowing administrators and shopkeepers to efficiently manage ration distribution.
Website: https://smart-eration.42web.io
- Secure Citizen Verification
- OTP Verification
- Family Details
- Rice Allocation
- Request Ration
- QR Code Token
- Pickup Time Slot
- Nearby Ration Shops
- Interactive Maps
- Secure Login
- Pending Requests
- Verify Token
- Distribute Ration
- Scan Citizen Details
- Today's Distribution
- Logout
- Admin Authentication
- Dashboard
- Add Citizen
- Add Shop
- Manage Stock
- Stock Records
- Change Password
- Session Management
- HTML5
- CSS3
- JavaScript
- PHP 8
- MySQL
- MySQLi
- Fast2SMS API
- Leaflet.js
- OpenStreetMap
- QR Code API
- InfinityFree
- phpMyAdmin
| Home | Shopkeeper Portal |
|---|---|
![]() |
![]() |
| Admin Login | Stock Management |
|---|---|
![]() |
![]() |
| Stock Records | Citizen Portal |
|---|---|
![]() |
![]() |
| OTP Verification | Digital Token |
|---|---|
![]() |
![]() |
e-ration-system/
admin/
shopkeeper/
config/
css/
qrcodes/
index.php
citizen-login.php
family-details.php
send-request.php
verify-otp.php
timeslot.php
nearby-shops.php
README.md
The application uses 6 relational tables.
| Table | Purpose |
|---|---|
| admins | Admin Authentication |
| shopkeepers | Shopkeeper Accounts |
| citizens | Citizen Information |
| family_members | Family Details |
| ration_shops | Shop Locations |
| ration_requests | Distribution Requests |
Citizen Login
โ
โผ
OTP Verification
โ
โผ
Family Details
โ
โผ
Request Ration
โ
โผ
QR Token Generation
โ
โผ
Shopkeeper Verification
โ
โผ
Ration Distribution
git clone https://github.com/Pulipati-Rahul/e-ration-distribution.githtdocs/e-ration-system
e_ration_system.sql
config/db.php
Start Apache & MySQL using XAMPP.
Username : admin
Password : admin123
Username : shop
Password : shop123
Name : Ramesh Kumar
Card : RC100001
Aadhaar : 123456789012
Mobile : 9876543210
- Role-based Authentication
- Password Hashing (bcrypt)
- Session Management
- OTP Verification
- QR Code Generation
- Location-based Shop Finder
- Stock Management
- Request Tracking
- Token Verification
- Responsive UI
- Password Hashing
- PHP Sessions
- SQL Injection Prevention
- Authentication Checks
- Role-based Access
- OTP Validation
- SMS Gateway Integration
- Email Notifications
- Aadhaar API Integration
- Online Payments
- Real-time Stock Monitoring
- Government Portal Integration
- Analytics Dashboard
This project helped in understanding:
- PHP Backend Development
- MySQL Database Design
- Session Management
- Authentication Systems
- CRUD Operations
- REST-style Workflows
- QR Code Generation
- Maps Integration
- Deployment on InfinityFree
Pulipati Rahul
Full Stack Developer
GitHub: https://github.com/Pulipati-Rahul
LinkedIn: https://www.linkedin.com/in/pulipatirahul
Portfolio: https://pulipatirahul.vercel.app
If you found this project helpful, consider giving it a โญ on GitHub.
It motivates me to continue building high-quality projects.







