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.
This library website project is a simple web application developed for the Python course (with bootstrap etc. part from me).
- 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.
- 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.
To use this project, you need to:
- Clone this repository to your local machine.
- Ensure you have Python and Flask installed.
- Create a virtual environment and install the required dependencies using
pip install -r requirements.txt
. - 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.