I created a simple website in apache2 to manage a small wine cellar. It can be added to to an iframe in lovelace or can be run independently in a browser. The pages will allow you to add and drink bottles of wine and the consumed bottles are stored in the database.
Here is the location on github.
https://github.com/AllHailJ/theWineCellar/tree/main
Here is the display screen to give you a flavor of the personal website.:
You will need to modify you php.ini to add
extension=sqlite3
extension=pdo_sqlite
Since it is pdo you have the option of using other databases.