Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
A book review website written with the flask framework. This site allows site members to login in, search for a specific book, and write a review. More advanced users can use the API to gather information about a specific book.
books.csv - A csv file with book information (isbn, title, author, year). This csv file will be imported into SQL table named "books".
import.py - Interact with the SQL database. To create the SQL tables needed (books, reviews, userlogin). To insert books.csv into the SQL table books.
application.py - The main flask application. Contains the website logic.
models.py - Using ORM for some of the SQL task.
/templates - Inside the templates directory lives html files for each of the webpages.
api.html - contains the instructions for making API calls
books.html - For users to search for a book based on isbn, book title, or author.
books_reviews.html - The book review site. Users will be able to see other users reviews and average ratings (site users and goodreads users)
layout.html - The template for this site. The nav bar is contained in there and extended to most other pages.
login.html - The login page. Username and Password required.
register.html - The registration page. Username and Password must be entered.
success.html - submit button in register page brings to success.html which then redirect to login.html.