Code Monkey home page Code Monkey logo

book-review-website's Introduction

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

book-review-website's People

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.