https://github.com/starnowski/aws-sam-fun
https://github.com/starnowski/aws-sam-fun
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/starnowski/aws-sam-fun
- Owner: starnowski
- Created: 2021-10-19T06:50:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-06T00:59:57.000Z (over 4 years ago)
- Last Synced: 2025-04-07T15:17:40.077Z (over 1 year ago)
- Language: Python
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aws-sam-fun
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html
### Testing api-gateway lambda locally
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html
```shell
sam local start-api
```
```shell
curl http://127.0.0.1:3000/hello
```
```shell
curl -X POST http://127.0.0.1:3000/some_resource -H 'Content-Type: application/json' -d '{"res_name":"Test"}'
```
### How to set up github action
https://github.com/aws-actions/setup-sam
https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html
### Example of AWS ApiGateway tutorial for Lambda and Dynamodb
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-dynamo-db.html
### SAM example projects
https://github.com/amazon-archives/serverless-app-examples/tree/master/python
https://aws.amazon.com/about-aws/whats-new/2019/02/develop-and-test-aws-step-functions-workflows-locally/
https://hub.docker.com/r/amazon/aws-stepfunctions-local
https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local-lambda.html