Skip to content

saifeemustafaq/app-Mustafa-Saifee-hw5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management System (LMS) Project Setup

  1. Make sure you are in the project root directory

  2. Create a virtual environment and activate it:

python -m venv venv
source venv/bin/activate  # On Windows, use: venv\Scripts\activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Start the Flask server:
python app.py

The server will be live on: http://localhost:8080/

Example calls:

Note

POST requests like checkout, reset, and return might not work on browsers, since the browser treats them as GET requests.

http://localhost:8080/checkout?borrowerId=L34&bookId=A312

http://localhost:8080/return?borrowerId=L34&bookId=A312

http://localhost:8080/books

http://localhost:8080/reset

Make sure you have MongoDB installed and running on your local machine.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages