Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 1.04 KB

README.md

File metadata and controls

22 lines (12 loc) · 1.04 KB

SAM-Docker-MySQL

An example Express + MySQL project for Amazon AWS SAM Local. Makes use of docker-aws-sam-local.

What is AWS SAM Local?

Amazon AWS SAM Local is a tool for local development and testing of Serverless applications. It can be used to test functions locally, start a local API Gateway from a SAM template, validate a SAM template, and generate sample payloads for various event sources.

How to use this repo?

$ bin/development

This will create a deployment package of the current directory for use with the SAM Local Lambda function and spin up Docker using docker-compose.

Browsing to http://localhost:3000/ will show a status endpoint with the configuration listed. /database shows the connectivity to the database.

License