Skip to content

Md-Ibrahim-Sarkar/library-management-system-assignment-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Library Management System - Assignment 4

A minimal yet powerful library management system built with modern web technologies, designed to manage books, borrowing, and inventory efficiently.


πŸš€ Live Demo


✨ Features

  • 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

πŸ›  Tech Stack

Frontend Backend Database
React + TypeScript Node.js + Express + TS MongoDB
Redux Toolkit (RTK Query) Mongoose
Tailwind CSS + ShadCN UI

πŸ—‚ Project Structure

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)

βš™οΈ Getting Started

Prerequisites

  • Node.js (v18+ recommended)
  • MongoDB Atlas URI or local MongoDB instance

Backend Setup

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

πŸ–₯️ Frontend Setup

#### 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages