This is an exercise using Node.js to build a simple command line tool that makes a request to an API, display content, and stores the data in a text file.
I used the RecipesAPI to return the ingredients and preparation to hundreds of dishes.
In the project directory, you can run
node app.js recipe name
The results will be saved in a log.txt file.
Suggestions:
node app.js lasagna
node app.js carbonara
node app.js noodles
node app.js eclair
node app.js hotdog