Alexa-skills-kit-sdk-for-nodejs: How to use this library with express?

Created on 4 Nov 2016  路  6Comments  路  Source: alexa/alexa-skills-kit-sdk-for-nodejs

Hi guys,

any example on how to use this with express and not with AWS lambda?

Thanks!

Most helpful comment

I managed to have it working in an https express server.
I put what I did in this gist

All 6 comments

We don't have example code, but you can build your skill as if for Lambda and then use a mock context object within your Express handlers to invoke the skill code.

https://github.com/SamVerschueren/aws-lambda-mock-context

Thanks @deegles I'll try that. I'm new with AWS Lambda, actually I have it worked in there, but debugging is not easy so I'd like to have something on my server.

I managed to have it working in an https express server.
I put what I did in this gist

Hi @oprog, this is great what you wrote :) Have you managed to go through Alexa certification? Could you write me please how file /alexa/index.js should look like? I would be very greatful to you :)

Hi @AnnaKra, I started the certification process but then I had to give up. Too much issues with signed requests and tests from Alexa team and I needed to go live ASAP. It took too much time to submit request for certification, have feedback, fix and repeat several times. So I switched to lambda function approach to get rid of all that. Time to market won on my tech desires :)

sad because as your own server there is much more possibilities. Could you help me please showing how should file /alexa/index.js looks like?

Was this page helpful?
0 / 5 - 0 ratings