A modern web application for home inventory management, supporting multiple languages and intelligent features.
smart-inventory-manager/
├── .gitignore
├── README.md # Project description
├── todo.md # Development task list
├── backend/ # Backend source code
│ └── inventory-api/ # Flask API service
│ ├── requirements.txt # Python dependencies
│ ├── venv/ # Python virtual environment
│ └── src/
│ ├── main.py # Flask application entry point
│ ├── models/ # Data models
│ │ ├── user.py
│ │ └── inventory.py
│ ├── routes/ # API routes
│ │ ├── user.py
│ │ └── inventory.py
│ └── static/ # Frontend source code and static files
│ ├── index.html # Main page
│ ├── app.js # Vue.js application logic
│ └── locales/ # Language files
└── start.bat # Startup script for Windows
git clone https://github.com/chronie-shizutoki/smart-inventory-manager.git
cd smart-inventory-manager
cd backend/inventory-api
# Create a virtual environment
python -m venv venv
# Activate the virtual environment
source venv/bin/activate # Linux/Mac
# or venv\Scripts\activate # Windows
pip install -r requirements.txt
python src/main.py
Tip: You can find your local IP address using the following methods:
- Windows: Enter
ipconfig
in the Command Prompt to find the IPv4 address- Linux/Mac: Enter
ifconfig
orip addr
in the terminal to find the IPv4 address
id
: Primary keyname
: Item namecategory
: Categoryquantity
: Quantityunit
: Unitmin_quantity
: Minimum stockexpiry_date
: Expiration datedescription
: Descriptioncreated_at
: Creation timeupdated_at
: Update timeGET /api/inventory/items
- Get the list of itemsGET /api/inventory/items/<int:item_id>
- Get details of a single itemPOST /api/inventory/items
- Create a new itemPUT /api/inventory/items/{id}
- Update an itemDELETE /api/inventory/items/{id}
- Delete an itemGET /api/inventory/categories
- Get the list of categoriesPOST /api/inventory/items/<int:item_id>/use
- Record item usageGET /api/inventory/items/generate-purchase-list
- Generate a purchase listPOST /api/inventory/items/batch
- Batch operations (delete, update categories)GET /api/inventory/stats
- Get statistical dataGET /api/inventory/alerts
- Get intelligent remindersGET /api/inventory/recommendations
- Get intelligent recommendationsWelcome to submit Issues and Pull Requests to improve this project!