Skip to content

A web application to search and view books from a local database as well as Google Books API, using Python (Flask), Bootstrap, HTML, CSS, and JS to build a book searching website.

Notifications You must be signed in to change notification settings

Semeriuss/LiberNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 1 Assignment: Web Programming with Python and JavaScript based on CS50

https://courses.edx.org/courses/course-v1:HarvardX+CS50W+Web/course/

Name of Application: LiberNet
Purpose: To search books from a local database and get details from an API (Google Books)
Used: Python (Flask), Bootstrap, HTML, CSS, JS

How to use

  • Register
  • Search books by ISBN, title, author, or publication year
  • Click the ISBN link to get more detail about the book and review
  • Get info about a book and submit your own review!
  • Alternatively, click the Explore link to get the top rated books

To Setup on your own

Clone repo

$ git clone https://github.com/intro-web-programming/projectone-Semeriuss.git
$ cd projectone-Semeriuss

Install all dependencies

$ pip install -r requirements.txt

ENV Variables

$ set FLASK_APP = application.py # python -m application
$ set DATABASE_URL = Heroku Postgres DB URI or Local Postgres lin
$ set SECRET_KEY = secret key env variable

You need to run import.py and create the database before you run the app

DB Schema

users: id (primary), username, email, password
books: id (primary), isbn, title, author, year
reviews: id (primary), user_id (foreign key), book_id (foreign key), description, rating

Landing Page

Home

Registration Page

Registration


Login Page

Login


Search Page

Search Page


Search Results with ISBN Links

Results


Details and Review Page

Review


Explore Page

Explore

About

A web application to search and view books from a local database as well as Google Books API, using Python (Flask), Bootstrap, HTML, CSS, and JS to build a book searching website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published