timothymathison / example-express-app-lambda

How to deploy NodeJS Express project to AWS Lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Express App Using AWS Lambda

This repository contains example code I used to test running an express/node.js app on AWS Lambda.

The orginal example code came from ClaudiaJS Example Projects

Running the Example

Prerequisite: Set up AWS credentials

  1. Install dependencies: npm install

  2. Generate a proxy for the express app: npm run generate-proxy

  3. Configure AWS Lambda and deploy project: npm run deploy

After the last step, the url to invoke the lambda handler will be printed out.

To deploy code changes to lambda run: npm run update

About

How to deploy NodeJS Express project to AWS Lambda


Languages

Language:JavaScript 54.4%Language:HTML 45.6%