Skip to content

danangfir/Re-Stock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Re-Stock

This stock management program utilizes Python Flask, Bulma CSS, and a binary search tree (BST) algorithm for efficient data storage and retrieval. The user interface is designed to be intuitive and visually appealing, with clear labels and instructions for each action. The program allows users to add, update, and delete stock items, as well as view the current stock levels and search for specific items.

The BST algorithm is implemented in Python using a Node class that includes attributes for the item name, description, and current stock level, as well as a reference to the left and right child nodes. The program includes several routes for interacting with the BST and managing the stock data. The "add item" route allows users to insert a new node into the BST, the "view item" route allows users to search for a specific item and view its details, the "update item" route allows users to modify the attributes of an existing node, and the "delete item" route allows users to remove a node from the BST. Overall, this program is a powerful and flexible tool for anyone who needs to manage their inventory effectively.

Alt text

Cloning the Repository

Before you start working on the project, it's recommended to clone the repository to your local machine. You can do this by running the following command in your terminal:

https://github.com/danangfir/Re-Stock.git

Running the Project

Once you have cloned the repository and installed the required dependencies, you can run the project by following these steps:

To run the application, follow these steps:

  1. Open a terminal in VSCode.
  2. Type the following command and press Enter:
python app.py 

Paste in terminal

This will start the Flask development server and you should be able to access the project at http://localhost:5000 in your web browser.

This project was made by

Danang_Firmanto

5230411079

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published