One of my favorite pieces of software recently is Grocy. -- Check it out, it's basically an ERP for your house. It can manage your inventory, ingredients, exp dates, recipes, costs, etc.
You can run it on a server/vm/docker, or standalone on Windows.
https://grocy.info/