YoruNoHikage / apex-api-gateway-boilerplate

Boilerplate for AWS Lambda and API Gateway using Apex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Boilerplate for AWS Lambda and API Gateway using Apex

License:MIT License


Languages

Language:JavaScript 100.0%