Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danangfir/re-stock


https://github.com/danangfir/re-stock

bst bulma flask python

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

        

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](/img/gambar1.png)

# 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:

```bash
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:
```bash
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