/flask-inventory-app

inventory tracking app with flask backend

Primary LanguageHTML

Flask-Based Inventory Tracking Application

This is an inventory application built with Flask, SQLite, and Semantic UI to help track hypothetical inventory for a company. Submission for the Shopify Backend Developer Challenge 2022

Deployed

I've hosted the inventory application on Heroku at the following link: https://flask-inventory-app.herokuapp.com/

CRUD functionality (Creating new inventory, Reading inventory items in list format, Updating inventory, and Deleting inventory) has been implemented. An additional feature is the ability to export the stored inventory into a .csv file (which can be done by clicking the download button).

Running on Local Machine

Verify that you have Python 3 installed on your local machine. You can download it at: https://www.python.org/

First clone the repository to a working directory using git. After the project is cloned, navigate to the directory which includes the requirements.txt file.

Proceeding this, open a terminal/command prompt and run the following command:

 pip install -r requirements.txt 

After this is complete, run:

python3 app.py

This should bring up the application

image

Backend Specifications

SQLite database with SQLAlchemy for Object-relational mapping (ORM).

To look at the backend check out the app.py file app.py. It contains the Item object and all the routing for the page.