https://github.com/sethkrasnianski/loopback-aws-api-gateway
Deploy a LoopBack API server AWS API Gateway & Lambda using Claudia.js
https://github.com/sethkrasnianski/loopback-aws-api-gateway
api-gateway aws lambda node serverless
Last synced: about 1 year ago
JSON representation
Deploy a LoopBack API server AWS API Gateway & Lambda using Claudia.js
- Host: GitHub
- URL: https://github.com/sethkrasnianski/loopback-aws-api-gateway
- Owner: sethkrasnianski
- Created: 2018-07-02T18:58:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T22:39:34.000Z (over 3 years ago)
- Last Synced: 2025-02-28T09:14:47.001Z (about 1 year ago)
- Topics: api-gateway, aws, lambda, node, serverless
- Language: JavaScript
- Size: 177 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- Node v8.11.3
- Yarn v1.7.0
- LoopBack CLI v4.2.0
- Configure [claudia](https://claudiajs.com/tutorials/installing.html#configuring-access-credentials) AWS access credentials
## Deploying
The `package.json` provides commands to facilitate the within the `scripts` object.
```sh
$ 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)
```