GitHub webhook to trigger AWS CodeBuild builds powered by Serverless.
GITHUB_WEBHOOK_SECRET environment variable must be set before yarn run commands below.
E.g. GITHUB_WEBHOOK_SECRET=YOUR_SECRET yarn run dev
Serverless-webpack and serverless-offline offer great tooling for local Serverless development. To start a local server that will mimic AWS API Gateway, run the commands below. The server will fire up and code will be reloaded upon change so that every request to your local server will serve the latest code.
yarn install
yarn run dev
Refer to the /infrastructure directory.