hoseungme / serverless-lambda-express-example

A simple serverless framework template demonstrates to setup an express application for AWS Lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express Application Example

Hits

This example demonstrates how to build an express application for AWS Lambda based on serverless framework.

Overview

This example built based on aws-serverless-express.

Prerequisite

You should install all dependencies.

npm install

Usage

Deploy

If prerequisite is ready, run the command below to deploy this example to your AWS account.

npm run deploy

Test locally

Do you not want to deploy this example? Or do you want to test before deploy? You can run it locally.

npm start

Remove all resources

After you've done working with this example, run the command below to remove all resources from your AWS account. (if you want)

npm run remove

About

A simple serverless framework template demonstrates to setup an express application for AWS Lambda


Languages

Language:TypeScript 100.0%