You can use the Dockerfile to run both dynamo, and api gateway locally. This is accomplished with Local Dynamo and SAM CLI.
Make sure you have Docker and Docker Compose installed. The docker daemon should be running.
Build:
docker-compose build
Run:
docker-compose up
You should now be able to hit dynamo at localhost:5000
and the api at localhost:3000
.