Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danangfir/re-stock
https://github.com/danangfir/re-stock
bst bulma flask python
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/danangfir/re-stock
- Owner: danangfir
- License: mit
- Created: 2024-06-05T04:27:15.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-06T12:41:58.000Z (7 months ago)
- Last Synced: 2024-10-16T19:05:05.583Z (2 months ago)
- Topics: bst, bulma, flask, python
- Language: HTML
- Homepage:
- Size: 696 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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 ProjectOnce 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 terminalThis 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