- Install the AWS CLI:
brew install awsclion a OS X. - Install just runner Can be installed via
homebrew
brew install justor grab one of the prebuilt binaries.
- Copy
.env.exampleto.env - Update AWS credentials appropriately. The
.envfile already hasAWS_PROFILE=in it, you can remove that and replace with whatever way you prefer to authenticate. - Assign an
APP_NAME. This will be used to name the cloudformation stack and other references. - Assign a
BUCKET_NAME. This will be where the versioned lambda zip files will be uploaded to.
- Run
just deployto deploy the configuration. - Once deploy is complete, run
just urlto get the url of your API Gateway. Try making a POST request to the url to receive the Hello World response.
- When you're done, run
just deleteto destroy the stack and all of it's dependencies in AWS.