A full-stack Library Management System built using the MERN stack (MongoDB, Express, React, Node.js) to efficiently manage books, users, and borrowing operations in a library.
⚠️ Note: This is not an e-commerce platform — no payment system is included.
- 📘 Manage books (Add / Update / Delete)
- 👥 View user details (ID, borrowed books, etc.)
- ✅ Approve book requests
- 🔄 Confirm book returns
- 💰 Manage late return charges
- 🔍 Browse and search books
- 📚 Check availability
- 📩 Request books
- 👤 Manage profile & dashboard (CRUD operations)
Frontend
- React.js
- Bootstrap
Backend
- Node.js
- Express.js
Database
- MongoDB
- Node.js: v18.16.0
- Express: v4.18.2
- React: v18.2.0
- MongoDB: v6.0.6
- Mongosh: v2.0.2
Documentation is available inside the /docs/ folder.
git clone git@github.com:MrAalu/LibraryManagementSystem_MERN.git
cd LibraryManagementSystem_MERNcd frontend
cd backendnpm installCreate a .env file inside the backend folder and copy values from:
.env.example
Start both frontend and backend:
npm run dev💡 If you face backend issues, refer to:
/backend/BackendInfo/
- Ensure MongoDB server is running
- Open MongoDB Compass
- Import JSON files from:
mongoDatabase/
into respective collections
- Setup MongoDB locally (as above)
- Configure
.envwith correctCONNECTION_URL - Run:
docker-compose upEmail: admin@gmail.com
Password: admin@123
Role: admin_user
- Register via Signup page
- Role: normal_user
- 💬 "Code comments are letters to your future self."
- 🔁 "If you can't solve it now, document it for later."
- 📅 Automated due date tracking
- 🔔 Notifications (Email/SMS)
- 📊 Analytics dashboard
- 📚 Book categorization & recommendations
