A python application using Flask framework for the web application, Flask-WTF for the Form classes, Flask_sqlalchemy for the database querying, & Bootstrap-Flask, a collection of Jinja macros for rendering Flask-related data and objects to Bootstrap markup HTML.
- Manually add book, author and rating
- Search book via Google Books API and add it
- Update rating
- Delete book from database
-
Clone the repository:
git clone https://github.com/Dimi-G/Library_Webapp.git
-
Create and activate a virtual environment:
pip python3 -m venv .venv .venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Create the database:
python3 bookdatabaser.py
-
Run the application:
python3 main.py
The application will be available at
http://localhost:5000
.
The project follows a standard Flask application structure:
app.py
: The main entry point for the application.instance/books.db
: The book database.templates/
: HTML templates for rendering pages.static/
: Static files such as images, CSS and JavaScript.
Contributions are welcome! If you have any improvements or bug fixes, feel free to submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.