Serverless service which provides a basic CRUD scaffold.
Make sure that you use Serverless v1.
- Clone this repository
- Execute
make setup
- Deploy with
make deploy
Simply perform requests against the exposed endpoints:
curl -X POST https://XXXX.execute-api.region.amazonaws.com/dev/todos --data '{ "body" : "Learn Serverless" }'
curl https://XXXX.execute-api.region.amazonaws.com/dev/todos
curl https://XXXX.execute-api.region.amazonaws.com/dev/todos/<id>
curl -X PUT https://XXXX.execute-api.region.amazonaws.com/dev/todos/<id> --data '{ "body" : "Understand Serverless" }'
curl -X DELETE https://XXXX.execute-api.region.amazonaws.com/dev/todos/<id>
- Lambda
- API Gateway
- DynamoDB