Skip to content

Samuelr2112/Inventory-Tracker-with-SQLite-and-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ Inventory Tracker with SQLite and Python

This is a lightweight full-stack web application I built using Flask (Python) for the backend and plain HTML/CSS for the frontend.
It’s a simple, clean app to manage inventory items β€” including name, quantity, price, and category β€” with persistent data storage using SQLite.

The project includes a working CRUD interface (Create, Read, Update, Delete), a search feature to find items by name, and input validation to prevent bad data entries.


πŸ” What It Does

  • βœ… Add, edit, delete, and list inventory items (name, quantity, price, category)
  • πŸ”Ž Search inventory items by name
  • πŸ›‘οΈ Input validation to ensure proper data (no negative values, all fields required)
  • πŸ“¦ Persistent database storage using SQLite
  • πŸ’» Frontend built with plain HTML and basic styling

🧰 Tech Stack

  • Python 3.12+
  • Flask (Micro web framework)
  • SQLite (Lightweight database)
  • HTML5 + CSS (Basic UI)

## πŸ“ Project Structure
Inventory Tracker with SQLite and Python/
β”œβ”€β”€ app.py
β”œβ”€β”€ inventory.db
β”œβ”€β”€ /templates
β”‚    β”œβ”€β”€ index.html
β”‚    β”œβ”€β”€ add.html
β”‚    └── edit.html
└── (optional /static for future CSS or images)

πŸš€ How to Run This Project

1. Clone the Repository

git clone https://github.com/Samuelr2112/Inventory-Tracker-with-SQLite-and-Python.git
cd Inventory-Tracker-with-SQLite-and-Python
  1. Install Flask Make sure Flask is installed:
pip install flask
(You don't need to install SQLite β€” it comes built-in with Python.)
  1. Start the App Run the Flask app:
python app.py

The server will start at:

http://127.0.0.1:5000
  1. Use the App Open your browser and go to http://127.0.0.1:5000

Add, edit, delete, and search inventory items

All changes are saved in the inventory.db SQLite database

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published