A lightweight bar inventory tracking application built with vanilla JavaScript, HTML, and CSS. This version maintains all the functionality of the original React app but with a much smaller footprint.
- Track inventory for different categories (drinks, tea, syrups)
- Mobile-friendly UI
- Automatic data saving using localStorage
- Notes/comments section for each category
- Reset functionality
Version | Size |
---|---|
React Version | ~500MB (with node_modules) |
Vanilla JS Version | < 20KB |
- Simply open
index.html
in any modern browser - Navigate between categories using the menu button in the top-right
- Enter inventory amounts for each item
- Add notes in the text area
- Use the Save button to explicitly save your data (though it auto-saves on changes)
- Use the Reset button to clear all entries for the current category
You can deploy this app by uploading these three files to any web hosting service:
index.html
styles.css
script.js
Recommended free hosting options:
- GitHub Pages
- Netlify
- Vercel
For simple applications like this, vanilla JavaScript provides:
- Tiny file size
- Fast loading and execution
- No dependencies
- Long-term stability (no framework upgrades needed)
This makes it ideal for straightforward inventory tracking applications where complex state management isn't required.