Javascript Serverless Microframework for AWS, inspired by aws chalice.
A traditional Japanese vessel, like a cup, is called hai and written "杯".
To run a Docker container locally, you can use the following commands
$ docker build -t hai-local .
$ docker run -p 9000:8080 hai-localIn a separate terminal, you can then locally invoke the function using cURL
$ curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" \
-d '{"payload":"hello world!", "requestContext":{"domainName":"localhost"}, "headers":[], "httpMethod":"GET", "path": "/n"}'npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template