/library-website

Library website practice using Flask, Sql and Bootstrap

Primary LanguageHTML

Library Website Project

This is a basic library website created as part of a learning project to explore database relations, Flask, and Bootstrap. It's designed to help you manage a collection of books with titles, authors, and ratings.

Table of Contents

About

This library website project is a simple web application developed for the Python course (with bootstrap etc. part from me).

Technologies Used

  • Flask: Flask is used as the web framework for creating the web application.
  • Flask-WTF: Flask-WTF is used for handling forms in Flask.
  • Bootstrap 5: Bootstrap is used for styling and creating a responsive user interface.
  • SQLite: SQLite is used as the database to store book information.

Features

  • Add Books: You can add new books to your collection by providing the title, author, and rating.
  • Edit Ratings: You can edit the ratings of existing books to keep your collection up to date.
  • Delete Books: If you want to remove a book from your collection, you can do so easily.

Usage

To use this project, you need to:

  1. Clone this repository to your local machine.
  2. Ensure you have Python and Flask installed.
  3. Create a virtual environment and install the required dependencies using pip install -r requirements.txt.
  4. Run the application by executing python main.py.

The website should be accessible at http://localhost:5000/.


Note: I got help from ChatGPT to make this README, if i sounded like ChatGPT you were correct.