An old-school terminal-based inventory management system built with Rust and Cursive.
๐ฅ๏ธ Text-based User Interface (TUI) Inventory System
This project is an experiment in building a Text User Interface application using the Cursive library โ a powerful TUI framework for Rust. Inspired by classic terminal apps, it offers a practical solution for managing a simple inventory of products with full keyboard interaction.
Ideal for Rust learners and enthusiasts exploring terminal UI development.
โ๏ธ Tools & Stack
Tools
โจ Features
-
Create and Save Items
-
Define product type
- Set quantity
-
Input price per unit
-
Display All Items
-
View inventory in a structured list
-
Automatically calculate total price and sales tax
-
Delete Items
-
Remove an item by specifying its ID
-
Local JSON-based Database
-
Persistent storage using a flat file database
-
File path defined as:
rust const FILE_PATH: &str = "products.json";
๐ผ๏ธ Demo
{{ img(src = "/media/tui_inventory_app.gif") }}
๐ฆ Installation & Run
- Clone the Repository
bash
git clone https://github.com/maltsev-dev/inventory_system_app
cd inventory_system_app
- Build the Project
bash
cargo build --release
- Run the App
bash
cargo run
๐ License
This project is licensed under the MIT License โ free to use, modify, and distribute.