Skip to content

The FastAPI Library Management System streamlines student record management in libraries. Built with FastAPI and MongoDB, it offers CRUD operations via RESTful APIs.

License

Notifications You must be signed in to change notification settings

N-epiphany/FastAPI_Library_Management_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Library Management System

This project implements a backend system for a Library Management System using FastAPI and MongoDB. It provides a set of APIs for creating, listing, updating, and deleting student records in the system.

Features

  • Create new student records
  • List students with optional filtering by country and age
  • Retrieve individual student records by ID
  • Update existing student records
  • Delete student records

Tech Stack

  • Language: Python
  • Framework: FastAPI
  • Database: MongoDB

Requirements

To run this project locally, you need to have the following installed:

  • Python 3.x
  • MongoDB
  • Pip (Python package manager)

Installation

  1. Clone the repository:
git clone https://github.com/your-username/library-management-system.git
  1. Navigate to the project directory:
cd library-management-system
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up MongoDB:
    • Install MongoDB locally or use a cloud-based MongoDB service like MongoDB Atlas.
    • Update the MongoDB connection string in app/db/connection.py.

Usage

  1. Start the FastAPI server:
uvicorn app.main:app --reload
  1. Open your web browser and navigate to http://localhost:8000/docs to access the Swagger UI.

    • Alternatively, you can use tools like Postman to interact with the APIs directly.
  2. Use the provided APIs to perform CRUD operations on student records.

Deployment

You can check out the application at LINK

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Our Application

About

The FastAPI Library Management System streamlines student record management in libraries. Built with FastAPI and MongoDB, it offers CRUD operations via RESTful APIs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages