Skip to content

Instantly share code, notes, and snippets.

Avatar
😎

oprog oprog

😎
  • The Internet
View GitHub Profile
@oprog
oprog / alexa-sdk-https-server-how-to.js
Last active Feb 27, 2019
alexa-sdk how to use it with an express https server
View alexa-sdk-https-server-how-to.js
'use strict';
const express = require('express');
const https = require('https');
const fs = require('fs');
const bodyParser = require('body-parser');
const context = require('aws-lambda-mock-context');
// lambda.js contains the lambda function for Alexa as in https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs
var lambda = require('./lambda');