Skip to content

A simple Library Management System built with Python Flask and MongoDB, allowing users to manage books, authors, readers, and borrow records through RESTful APIs. Ideal for learning full-stack development with Flask and NoSQL.

Notifications You must be signed in to change notification settings

jahidul2004/library-management-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Library Management System (Flask + MongoDB)

A simple Library Management System built with Python Flask and MongoDB that supports basic CRUD operations on books, authors, users, and borrow records. This project is designed for learning RESTful APIs and NoSQL integration using MongoDB Compass.


πŸš€ Features

  • πŸ“˜ Add, update, delete, and retrieve book data
  • πŸ‘€ Manage library users (add, update, delete, view)
  • ✍️ Store author information
  • πŸ”„ Track borrow and return records
  • 🌐 REST API tested using Postman
  • βš™οΈ MongoDB used as the backend database (with Compass)

🧰 Tech Stack

Technology Use
🐍 Python Backend language
⚑ Flask Web framework
πŸƒ MongoDB NoSQL database
🧭 MongoDB Compass GUI for MongoDB
πŸ”₯ Postman API testing

πŸ“‚ Folder Structure

πŸ“ your-project/ β”œβ”€β”€ app.py # Main Flask server └── README.md # This file

πŸ”Œ Example API Routes

Method Endpoint Description
GET /books Get all books
POST /books Add a new book
GET /users/<id> Get a user by ID
PUT /borrowRecords/<id> Update borrow record
POST /authors Add a new author

πŸ§ͺ Test all APIs using Postman


πŸ’‘ Future Improvements

  • πŸ” JWT-based authentication
  • πŸ–ΌοΈ Frontend with React or Vue
  • πŸ“Š Admin dashboard UI
  • βœ… Book availability check logic

🀝 Contributions

PRs are welcome!
For major changes, please open an issue first to discuss what you would like to change.

About

A simple Library Management System built with Python Flask and MongoDB, allowing users to manage books, authors, readers, and borrow records through RESTful APIs. Ideal for learning full-stack development with Flask and NoSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages