sethkrasnianski / loopback-aws-api-gateway

Deploy a LoopBack API server AWS API Gateway & Lambda using Claudia.js
6 stars 2 forks source link
api-gateway aws lambda node serverless

Using Claudia.js to deploy LoopBack API servers

This LoopBack API server was created using the lb generator. It uses the premade Note API.

Requirements

Deploying

The package.json provides commands to facilitate the within the scripts object.

$ yarn run generate-proxy # Generates the proxy server's lambda handler
$ yarn run deploy         # Deploys the handler to AWS Lambda and AWS API Gateway
$ yarn run update         # Updates the deployed code after a change has been made to the API server
$ yarn run destroy        # Destroy the deployed application (prompts for confirmation)