GitXplorerGitXplorer
Z

book-review-website

public
0 stars
0 forks
8 issues

Commits

List of commits on branch master.
Unverified
1e768364a926cdad39fa9bf1bf7d595c550b22d2

update READNE

committed 6 years ago
Unverified
5332ddf2a51134e816454fa293e8aebaa10214ad

update README

committed 6 years ago
Unverified
656a9b35232ae4252aabd87378afffadb773ce37

update README.md

committed 6 years ago
Unverified
1bb5284fccf78c8cd727293badf3f3eaade55bea

remove unnecessary dependencies

committed 6 years ago
Unverified
09acdeda489016c718369ec0d1455462429f0445

commit message

committed 6 years ago

README

The README file for this repository.

Book Review Website

In this project, users will be able to register for your website and then log in using their username and password. Once they log in, they will be able to search for books, leave reviews for individual books, and see the reviews made by other people. You’ll also use the a third-party API by Goodreads, another book review website, to pull in ratings from a broader audience. Finally, users will be able to query for book details and book reviews programmatically via your website’s API.

Live Demo

Getting Started

Requirements

  • Python >= 3.7

Prerequisite

  • Install prerequisite packages

    pip install -r requirements.txt
  • Set up the PostgreSQL hosted by Heroku

  • Get the DATABASE_URL from Heroku

  • Set DATABASE_URL in import.py

        10  DATABASE_URL=''
  • Set DATABASE_URL in application.py

        6   DATABASE_URL = ""

Installation

  • Import books dataset from books.csv to database

    python import.py

Running the test

  • Execute

    python application.py
  • Open the link on the terminal like below in your browser

    * Serving Flask app "application" (lazy loading)
    * Environment: production
    WARNING: Do not use the development server in a production environment.
    Use a production WSGI server instead.
    * Debug mode: off
    * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Deployment

Contribution

  • Adminer - A database management tool
  • Goodreads - A "social cataloging" website to freely search database of books, annotations, and reviews.
  • Heroku - A cloud platform as a service.

Author