This app was mentioned in 2 comments, with an average of 4.50 upvotes
https://play.google.com/store/apps/details?id=org.chad.jeejah.library
I wrote this for phones three years ago.
You check boxes for what you have.
Just like this, It says, you can make these.
Also, it makes recommendations, so you get the most bang for your buck. If you get this other ingredient, you can make 80 other recipes.
Here's an app that does that as well.