Need database(s) of food data. It was good with categories.
Dairy, Fish, pastries, meat products, that's it.
Well, or at least some general lists, in a format that is easy to parse.
And what kind of base can be collected here? Only compound ingredients, for each energy value, the amount of proteins, fats, carbohydrates per 100 gr. You can also ask Google for this.