Skip to content

Latest commit

 

History

History
61 lines (56 loc) · 1.9 KB

README.md

File metadata and controls

61 lines (56 loc) · 1.9 KB

Shelflife

About

A simple library management web application made with Flask, MySQL and Tailwind

Setup

Make sure you have Python3+ and MySQL installed on your system. Clone or download this repository. Run following commands in the terminal from inside the repository.

  1. Create a virtual environment

    python3 -m venv myenv
  2. Activate the virtual environment

    source myenv/bin/activate
  3. Install requirements

    pip install -r requirements.txt
  4. Edit app_secrets.py and setup_db.py with your values

  5. Run setup_db.py

    python3 setup_db.py
  6. Run app.py

    python3 app.py

Screenshots

Books

books

Add book

add book

Edit book

edit book

View book details

view book

Import books using API

search using api import books

Search books

search book

Members

members

Add member

add member

Edit member

edit member

Confirm delete

delete member

Search member

search member

Issue book

issue book

Return book

return book

Transactions

transactions