In the previous sections, you created a Henry's Kitchen skill that sends the recipe ideas. The Node.js server endpoint will fulfill Henry's Kitchen skill requests by querying a third-party service called Spoonacular (https://spoonacular.com/food-api). Spoonacular will provide food recommendations to the endpoint service to construct the response that will be sent back to the user.
Here are the steps necessary to create Node.js code for the endpoint web service:
- Open Visual Studio Code.
- You are going to write some Node.js codes to handle Alexa skill requests. Before you begin, create three files:
- server.js: This is the Node.js server's entrypoint to execute the server code.
- package.json: This contains the Node.js dependencies required to execute server.js. When you type npm install on the Node.js Command...