A web-based platform to digitally manage udhaar (credit) transactions between sellers and buyers.
It simplifies tracking of outstanding balances, pending claims, and payments — replacing manual ledgers with a secure, real-time digital system.
- 🔐 Secure Authentication (JWT-based)
- 👥 Role-based access for Sellers and Buyers
- 💸 Add, confirm, and settle transactions
- 🧾 Manage inventory and customer records
- 📊 Interactive dashboard showing balances and claims
- 🔄 Real-time updates using REST APIs
- 📱 Responsive UI for mobile and desktop
Frontend
- HTML5, CSS3, JavaScript
- TailwindCSS (for styling)
- Chart.js (for dashboard visualization)
Backend
- Node.js + Express.js
- MongoDB (Mongoose ODM)
- JSON Web Tokens (JWT)
- bcryptjs for password hashing
Frontend (HTML, CSS, JS)
↓ REST API
Backend (Node.js + Express)
↓
Database (MongoDB)
Udhaar-Management-System/
│
├── backend/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── middleware/
│ ├── server.js
│ └── .env
│
├── frontend/
│ ├── index.html
│ ├── dashboard.html
│ ├── scripts/
│ ├── styles/
│ └── assets/
│
└── README.md
git clone https://github.com/<your-username>/Udhaar-Management-System.git
cd Udhaar-Management-Systemcd backend
npm installCreate a .env file in the backend/ directory with:
PORT=4000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_keynpm startSimply open frontend/index.html in your browser or use a local server.
| Endpoint | Method | Description |
|---|---|---|
/api/auth/signup |
POST | Register a new user |
/api/auth/login |
POST | Login and get JWT |
/api/transactions |
GET/POST | Manage udhaar transactions |
/api/inventory |
GET/POST | Manage shop inventory |
/api/dashboard |
GET | Fetch user dashboard summary |
To provide a digital solution for local shopkeepers to manage their udhaar system easily and transparently — ensuring both parties have access to clear transaction histories and balances.
Vaishnavi Khandelwal 📧 [your email or portfolio link]
This project is licensed under the MIT License — you are free to use, modify, and distribute it with attribution.
---
Would you like me to make a **README version with images and badges** (like “Made with Node.js”, “MongoDB Atlas”, “MIT License”, etc.) for better presentation on GitHub?