Skip to content

MongoDB library app

License

Notifications You must be signed in to change notification settings

Ycmelon/nosequel

Repository files navigation

📘 Nosequel — Y3 CEP WA3 Python version GitHub licence

A basic library app, made with Python and MongoDB

📄 Report

📷 Screenshots

Demo image

🚀 Features

Books

  • Add book (title, authors, isbn, page_count) to library
  • Delete book from library
  • Edit book information
  • Remove specific attributes from book

Borrowers

  • Add borrower's (name, username, phone) to library
  • Delete borrowers from library
  • Edit borrower information
  • Allow borrowers to checkout/return books (if available)
  • Track number of books checked out by a given user
  • Track which user has checked out a book

Browsing

  • Search by title, authors, or ISBN
  • Sort by title, authors, ISBN or page count
  • Search by name, username

⛏️ Installation

  • Clone this respository
  • Rename config_template.py to config.py and update values
  • requirements.txt

💻 Usage

Run cli.py

Sorting

In any search query, append sortby:<field> to sort (fields: title, authors, isbn, page_count)

📃 License

GNU General Public License v3.0