A simple web app to help controlling expiring products in my pantry. It uses IndexedDB as a local database in the browser and Web Storage to store history information for statistics purposes. It can also be installed locally as a Progressive web app.
Since all information is stored locally, one can simply open the web application and start using it. As long as the browser data for this site is not deleted, all the information will be there. If, for any reason, you want to delete your browser history, you can export your database as a JSON file and later import it again.
- Add products with name, expiration date, and quantity
- Mark products as opened, consumed, or discarded
- Products are sorted by closest to expiration date and then by larger quantity
- After a product is opened, its expiration date is updated based on the duration days from the opening date
- Export database as JSON file
- Import database from JSON file
- Install as a Progressive Web App
- Responsive design
- Click on the install icon on the right side of the address bar
- Confirm installation
- Open the app from the installed icon
- Open the web application on your mobile browser
- Click on the three dots menu on the right side of the address bar
- Click on "Add to Home screen"
- Confirm installation
- Open the app from the installed icon
- Enjoy!
- statistics tab
- improve UI