Giter Club home page Giter Club logo

the_book's Introduction

The Book

This is a book-searching web app. Like the description, it can search books and give you some info about books.

Main Features

  • Search books by its title, author or ISBN.
  • Display information about the book like cover, title, author, ISBN, publisher, publication date, description.
  • Add to shelf: users can add the book to their collection after login.
  • Give ratings: users can add ratings to the books after login.

Technologies

  • Flask framework.
  • Sqlite database locally and postgres database on server.

Defects

  • If you update the ratings you gave, the average ratings won't update.
  • The books on the shelf cannot be deleted.
  • Reset password part hasn't been implemented.
  • The book detail page on deployed web app cannot hide excess text in the description.(While it works fine locally)

Check out this project on Heroku.

https://desolate-shelf-39908.herokuapp.com/

  • I use dataset of books as books' info stored in my database. This is the dataset source: https://www.kaggle.com/austinreese/goodreads-books . Due to free postgres database limit on heroku, I only uploaded 7000 rows of book data. If you run it locally, it should contains around 50,000 rows of data. The only difference between the web app at local and heroku is number of search results.

Run it on your computer locally

Get Started

Clone it to your computer
  • Create a new folder, change directory into that new folder
  • git clone <repoURL>
Run the web app using Flask, locally.
  • Change directory to the repository just cloned.

  • Point Flask to your application:

    macOS/Linux: export FLASK_APP=main.py

    Windows: set FLASK_APP=main.py

  • Run the flask application:

    flask run

  • Open the web app Go http://localhost:5000 in your browser.

  • Quit the web app Press CTRL+C in terminal

Sources:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.