This is a repository for a cloud function developed with Crowdbotics
- Uses the Serverless framework.
- Build to deploy to AWS Lambda.
- Provides a single REST endpoint at
GET /hello
. - Uses Python 3.7.
- Install the Serverless framework on your local machine.
- Configure your AWS provider credentials for Serverless framework.
git clone
this repository to your local machine.$ cd <clone root>
$ serverless deploy -v
- Look for output with the endpoint. It should look like the following:
endpoints: GET - https://<aws api gateway endpoint>/dev/hello
- Invoke the function:
$ curl https://<aws api gateway endpoint>/dev/hello