Gestionnaire d’inventaire web pour la gestion de stock en temps réel.
URL en direct : https://mostafalpha.github.io/inventory-manager/
Cloné le répôt avec :
git clone https://github.com/MOSTAFAlpha/inventory-manager.git
cd inventory-manager
Ouverture du fichier inventaire.html dans votre navigateur.
inventaire.html : Application web complète (HTML + CSS + JavaScript)Projet open-source - Libre d’utilisation et de modification.
MOSTAFAlpha - 2025
The application now supports loading inventory data directly from GitHub, allowing you to maintain your inventory in version control:
// Load inventory data from GitHub
await loadInventoryFromGitHub();
Raw File URL: https://raw.githubusercontent.com/MOSTAFAlpha/inventory-manager/main/data/inventory-data.json
Export your current inventory as a JSON file to backup or share:
// Export current inventory data as JSON
exportInventoryToJSON();
This will download a file named inventory-export-[timestamp].json with all current inventory items.
Automatic backup and restore functionality using browser localStorage:
// Save inventory to local storage
saveToLocalStorage();
// Restore from local storage
loadFromLocalStorage();
The inventory data follows this JSON structure:
{
"lastUpdated": "2025-11-26T15:00:00Z",
"version": "1.0.0",
"company": "Solo Electronique",
"inventory": [
{
"ref": "1",
"designation": "ADAPTEURS UG-21 REFERENCE NOR 161018",
"qty": 19,
"price": 0,
"note": ""
}
]
}
data/inventory-data.json - Central inventory data filejs/app-github.js - GitHub integration moduleimages/ - Directory for product images (not tracked in git).gitignore - Excludes images and local files from version controlProduct images should be stored in the images/ folder locally. This folder is excluded from git to keep the repository lightweight. Update the .gitignore if you wish to track images.