DEV Community

Austin Crim
Austin Crim

Posted on

Cooking in quarantine? Check out this Twilio recipe finder!

What I built

With a growing populace "sheltering in place" and restaurants closing their doors temporarily, the need for home cooking is on the rise and if you're anything like me, you are lacking inspiration. That is why I decided to help myself out with a recipe finder! Simply send a text to +1 (202) 952-8194 with a comma separated list of ingredients and receive delicious recipes. If only Twilio could cook the meals too...

Example Interaction

You can also send a number as the last parameter to specify how many recipes to bring back (e.g. Carrots, potatoes, 7). Keep in mind, each recipe will be a separate text message and contain an image.

How I built it

I wrote the project in NodeJS and it is currently hosted on Heroku. I utilized Twilio's programmable SMS API as well as the Spoonacular recipe API.

Here's the source code.
FYI, I'm currently working through an issue where Twilio is slow to post my message to my app. This causes intermittent delays in the recipe response. Thanks for understanding!

Let me know what you think in the comments!

Top comments (1)

Collapse
 
zzayn77 profile image
ZZayn77

When quarantine started, I noticed that I started to cook more often. I started working remotely, so I have more time to do what I like. Also, I started looking for new receipts, information about different products and started experimenting. For the first time, I also used canola oil. I'd heard a lot of info before and finally decided to try it. Also, I came across one article about canola oil and found out whether it expires like other oils and how to determine whether it's expired or not.