Using Node.js built-in http package
While this method is compatible with most platforms (such as Google's AppEngine), it's also much more complicated than using Express.JS and its middlewares.
index.js
To make your app work use the HttpHost, open your index.js
file in the src
folder, and create a http server using http.createServer()
:
Alexa
When you want to deploy your code to a webserver other than AWS Lambda, you need to verify that Alexa Skill requests are actually coming from Amazon. Otherwise you will not pass the Alexa Certification for your Skill..
These can be implemented using the Alexa-verifier package.