Skip to content

πŸ“šβš‘A webapp where user can post reviews and ratings for a book and can also watch the Goodreads reviews and ratings of a book

Notifications You must be signed in to change notification settings

vinaykakkad/Flask_SQL_APIs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FLASK_SQL_API

A book reviews website were users can search for books, leave reviews and see the reviews by others. Using Goodreads API, ratings of the books will also be displayed. Finally, users can query also query for book details and rating through website's API.

Installation:

  • Clone/download the repository and move to the flask_sql_api folder
  • Install the required packages using:
pip install -r requirements.txt
  • In env.py file configure your secret key, database url and Goodreads API key. Database url follows the standard convention: [DB_TYPE]+[DB_CONNECTOR]://[USERNAME]:[PASSWORD]@[HOST]:[PORT]/[DB_NAME]. You can get the Goodreads API key from here.
  • Now, run the file using:
set FLASK_DEBUG=1
set FLASK_ENV=development
set FLASK_APP=run.py
python -m flask run
  • On moving to the provided url, you will be able to see the login page: alt text
  • Quit the server and import the data using:
python import.py
  • Run the file, register, login and you will be able to see the dashboard: alt text

You can now search books, view ratings, post reviews and query for a book's data using the "url_of_website/api/book_isbn_number" route.

About

πŸ“šβš‘A webapp where user can post reviews and ratings for a book and can also watch the Goodreads reviews and ratings of a book

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published