A modern full-stack Library Management System engineered to streamline digital library operations through intelligent workflows, role-based dashboards, and AI-driven book discovery. Built using the MERN stack, SmartLibrary delivers a seamless experience for both readers and librarians with secure authentication, real-time inventory management, and personalized recommendation systems.
SmartLibrary modernizes traditional library systems by combining efficient inventory management with AI-powered personalization. The platform features separate dashboards for readers and administrators, enabling smooth issue-request handling, secure authentication, and scalable backend architecture.
- Simplify library management workflows
- Improve accessibility to digital catalogs
- Automate issue-request processing
- Enhance user engagement with AI recommendations
- Provide centralized inventory control for administrators
- Browse and search books by title, author, or genre
- View real-time availability and issue status
- Clean and responsive UI for seamless navigation
- Personalized recommendations based on:
- Reading history
- Preferred genres
- Search patterns and activity
- Helps users discover books intelligently
- One-click issue requests
- Track:
- Pending requests
- Approved books
- Currently issued books
- JWT-based authentication system
- Password hashing with bcrypt.js
- Protected API routes and user sessions
- Add new books to the catalog
- Edit or remove existing books
- Manage stock and availability
- Review pending requests
- Approve or reject issue requests
- Track issued books in real time
- Monitor issued vs available inventory
- Manage overall library activity efficiently
| Category | Technologies |
|---|---|
| Frontend | React.js, Vite, React Router DOM, Context API |
| Backend | Node.js, Express.js |
| Database | MongoDB, Mongoose |
| Authentication | JWT, bcrypt.js |
| AI Features | Recommendation Logic / AI APIs |
| Version Control | Git & GitHub |
Frontend (React + Vite)
β
REST API (Express.js)
β
Authentication Layer (JWT)
β
MongoDB Database (Mongoose ODM)
β
AI Recommendation Engine
git clone https://github.com/yourusername/smartlibrary.git
cd smartlibraryCreate a .env file inside the backend/ directory:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key
# Optional AI Service Key
AI_API_KEY=your_api_keycd backend
npm install
npm run devcd frontend
npm install
npm run devFrontend typically runs on:
http://localhost:5173| Method | Endpoint | Description | Access |
|---|---|---|---|
| POST | /api/auth/register |
Register a new user | Public |
| POST | /api/auth/login |
Authenticate user & generate token | Public |
| GET | /api/books |
Fetch complete book catalog | Public |
| POST | /api/issues/request |
Submit issue request | User |
| GET | /api/issues/my-books |
Get user's issued/pending books | User |
| GET | /api/issues/requests |
View all pending requests | Admin |
| PUT | /api/issues/:id |
Approve or reject request | Admin |
- Full-stack MERN architecture
- Role-based authentication system
- AI-powered recommendation engine
- Real-time issue tracking
- RESTful API integration
- Secure JWT authentication
- Scalable backend structure
- Responsive modern UI
- π PDF / eBook reader integration
- π Email & notification system
- π Analytics dashboard
- π§ Advanced ML-based recommendation engine
- βοΈ Cloud deployment & CI/CD pipeline
- π± Enhanced mobile responsiveness
Full Stack Developer β’ MERN Stack Enthusiast β’ AI Projects Builder
- Civix
- AI Habit Builder
- SmartLibrary
GitHub: @agastya
Contributions, feature suggestions, and pull requests are welcome.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your branch
- Open a Pull Request
This project is licensed under the MIT License.