https://github.com/7pairs/hobopy
pip install chalice
aws cliのprofileも利用可能 --profile=limitedをつける
仮想環境の切り替え | source ~/hobopy/.venv/hobopy-backend/bin/activate |
ローカル起動 | chalice local --stage dev | http://127.0.0.1:8000 |
デプロイ | chalice deploy --stage dev | API Gateway,Lambda |
削除 | chalice delete --stage dev |
java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb -port 8001
aws dynamodb create-table --cli-input-json file://04.01_schema.json --endpoint-url http://localhost:8001
aws dynamodb batch-write-item --request-items file://04.02_initial-data.json --endpoint-url http://localhost:8001
aws dynamodb scan --table-name Todos --endpoint-url http://localhost:8001