Skip to content

sccheruku/aws-lambda-express-node-ts-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-express-node-ts-quickstart

This project provides a quickstart setup for Serverless projects which can also be run locally for quicker iteration/development.

  • Builds from Typescript.
  • Express server runs on port 3000
  • AWS Lambda requirements: Node 6.10, NPM: 3.8.6

build

Build the source from TypeScript to JavaScript:

$ npm run build

run locally

Run your functions locally as a REST API:

$ npm run start-dev

Routes for testing:

GET  /api/jokes
GET  /api/jokes/random
POST /api/jokes
GET  /api/quotes

deploy to aws lambda

deploy the built code to AWS Lambda using Serverless

$ npm run deploy

About

aws-lambda-express-node-ts-quickstart

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published