popiula / Books-Inventory

Creating a basic python server-based web application (Database + API + frontend) for a book inventory management. Imagine you are managing a bookstore and need to keep track of inventory (i.e., number of copies) you have on every book. Details of any book can be found by using Google Book API (integrating API’s of Google). On the backeend, keeping track of books (along with their respective ID from Google Book API) and their inventory count. When a book stock goes to zero, it is considered out of stock. Building a web portal, just a public portal where user can directly interact with it. Here are the features of the portal, List out all the books in inventory. Search for a book (using Google Book API). For all the results that show up, indicate whether it is available in inventory or NOT? . Making changes to inventory: Add a new book. Update inventory for an existing book. Remove from the inventory.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inventory

A web portal implemented using Python/Django(MVT structure).

It contains the list of books in store and contains information about its copies and book info link provided by Google Book Api. Anybody can access it, there is no need to login or authenticate(for now).

** Features **

  • User can add a book or also copy of a existing book to the bookstore.

    • remove or delete the book from the bookstore.

    • can also remove or delete the book from the bookstore.

    • A search box which shows the books with the help of Google Book Api for the given query.

    • Searched books have text on their bottom, weather it is already exist in bookstore or not.

** Assumptions **

*Added some books with popular keywords to the inventory using Google book API with a script(base_script.py)

  • Delete and Edit options are only for the books that are in the inventory.

** Installation and Running the server **

** Install Requirements **

  • pip install -r requirements.txt
  • python3 manage.py makemigrations
  • python3 manage.py migrate ** Running the server **
  • python manage.py runserver your app will be running on locally here!

Live app on heroku

About

Creating a basic python server-based web application (Database + API + frontend) for a book inventory management. Imagine you are managing a bookstore and need to keep track of inventory (i.e., number of copies) you have on every book. Details of any book can be found by using Google Book API (integrating API’s of Google). On the backeend, keeping track of books (along with their respective ID from Google Book API) and their inventory count. When a book stock goes to zero, it is considered out of stock. Building a web portal, just a public portal where user can directly interact with it. Here are the features of the portal, List out all the books in inventory. Search for a book (using Google Book API). For all the results that show up, indicate whether it is available in inventory or NOT? . Making changes to inventory: Add a new book. Update inventory for an existing book. Remove from the inventory.


Languages

Language:Python 90.9%Language:HTML 9.1%