A minimal yet powerful library management system built with modern web technologies, designed to manage books, borrowing, and inventory efficiently.
- Frontend: https://minimal-library-management-rtk.vercel.app/
- Backend: https://minimal-library-management-api.vercel.app/
- Add, edit, and delete books
- Borrow books with due date and quantity
- Pagination for book listings
- Validation, error handling, and middleware integration
- Borrow summary powered by MongoDB aggregation pipeline
Frontend | Backend | Database |
---|---|---|
React + TypeScript | Node.js + Express + TS | MongoDB |
Redux Toolkit (RTK Query) | Mongoose | |
Tailwind CSS + ShadCN UI |
library-management-system-assignment-4/
βββ backend/ # Node.js + Express backend
β βββ src/
β β βββ app/
β β β βββ controllers/
β β β βββ interfaces/
β β β βββ lib/
β β β βββ models/
β β βββ app.ts
β β βββ server.ts
β βββ README.md
β βββ .gitignore
β
βββ frontend/ # React + TypeScript frontend
β βββ src/
β β βββ assets/
β β βββ components/
β β βββ hooks/
β β βββ lib/
β β βββ redux/
β β βββ routes/
β βββ README.md
β βββ .gitignore
β
βββ README.md # Root README (this file)
- Node.js (v18+ recommended)
- MongoDB Atlas URI or local MongoDB instance
cd backend
npm install
Create a .env file in the backend directory with the following:
MONGODB_URI=your_mongodb_connection_string
Start the backend server: npm run dev
#### Prerequisites
- Node.js (v18+ recommended)
- Backend API must be running (either locally or deployed)
#### Installation
```bash
# Navigate to the frontend directory
cd frontend
# Install dependencies
npm install
# Start the development server
npm run dev
π§ Author Ibrahim Sarkar
π§ Email: ibrahimsarkar.dev@gmail.com
π Portfolio: https://ibrahimsarkar.com