Skip to content

Instantly share code, notes, and snippets.

View oprog's full-sized avatar
😎

oprog oprog

😎
  • The Internet
View GitHub Profile
@oprog
oprog / alexa-sdk-https-server-how-to.js
Last active February 27, 2019 09:49
alexa-sdk how to use it with an express https server
'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');