Skip to content

gavindsouza/inventory-management-system

Repository files navigation

Inventory Management System

"Simple Inventory Management System powered by Flask"

Table of Contents

Installation

Clone the git repository:

$ git clone https://github.com/gavindsouza/inventory-management-system.git
$ cd inventory-management-system

Create a virtual environment and install necessary dependencies:

$ python3 -m venv venv
$ source ./venv/bin/activate
$ pip install -U pip -e .

Overview

The index page or summary covers the summary of the system containing lists of products and location along with a count of unallocated products. On the products page, we can add/edit/remove products from the system. The location page covers similar functionality in the context of locations or warehouses. On the logistics page, movement of products can be performed. It also maintains the history of all transactions in a tabular form.

Usage

Starting Things Up

To try out the application, run the following from the cloned directory:

$ flask --app inventory.app run --debug

The application can be accessed at localhost:5000 in your browser

This view of the system can be accessed for demo purposes on installation, to start afresh remove thr inventory.sqlite file from the parent folder

Getting Into It

A new system will look like this

Adding Products and Locations

To add products, only the name and quantity are required Adding locations needs only the name to be added

Moving Things Around

Products can be moved into and between warehouses only after they have been added to the system

Moving into locations

Moving between locations

Editing Existing Information

Editing Product Information

Editing Location Information

Deleting Products and Locations on the System

Production Setup

You may want to maintain your database file in a separate location (by setting DATABASE_NAME environment variable) and back that up periodically. Considering gunicorn for this setup, equivalent command may look something like:

$ DATABASE_NAME=/home/user/inventory.sqlite gunicorn -w 4 inventory.app:app

Checkout Flask's production deployment guide for more information.

Dependencies

  • Just Flask!

License

This code has been released under the MIT License.