https://github.com/donno2048/lumigo-template
A simple template for Lumigo
https://github.com/donno2048/lumigo-template
aws aws-api aws-lambda chalice lambda lumigo rest-api template
Last synced: 3 months ago
JSON representation
A simple template for Lumigo
- Host: GitHub
- URL: https://github.com/donno2048/lumigo-template
- Owner: donno2048
- Created: 2020-11-24T22:04:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-23T11:02:05.000Z (about 4 years ago)
- Last Synced: 2025-01-06T16:49:54.354Z (5 months ago)
- Topics: aws, aws-api, aws-lambda, chalice, lambda, lumigo, rest-api, template
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
First of all install chalice (`pip install chalice`)
To run it just run:
```bat
> chalice deploy
```
you'll see something like this:
```py
Creating Rest API
Resources deployed:
- Lambda ARN: arn:aws:lambda:me-south-1:SOMENUMBER:function:appname-dev-func
- Lambda ARN: arn:aws:lambda:me-south-1:SOMENUMBER:function:appname-dev
- Rest API URL: https://VALUE.execute-api.me-south-1.amazonaws.com/api/
```
then just
```bat
> curl -X GET https://VALUE.execute-api.me-south-1.amazonaws.com/api/
```
to get response from the lambda