Boilerplate for AWS Lambda and API Gateway using Apex
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
functions/hello
.babelrc
.eslintignore
.eslintrc
.gitignore
LICENSE
README.md
package.json
project.example.json
webpack.config.js

README.md

Apex API Gateway Boilerplate

Prerequisites

Install Apex to manage your deployments to AWS Lambda

Usage

Copy project.example.json to project.json and fill it with your roles and credentials.

Then execute these commands to deploy Lambda functions:
npm install && npm run lambda:deploy

Then creating API by doing:
npm run apigateway:create

Everytime you need to update your API:
npm run apigateway:update

Now, you can try requesting your API like this: curl https://<id>.execute-api.<region>.amazonaws.com/dev/hello/John