This project contains source code and supporting files for a serverless application to get a random motivation quote from famous athletes.
Following the Google Styleguide
Using
- gofmt
- golint
Quotes are stored in DynamoDB expecting a table with the name motivation-quote-go
| Attribute | Name | Type |
|---|---|---|
| partitionKey | id | string |
| sortKey | author | string |
| additional field | quote | string |
| id | author | quote |
|---|---|---|
| "1" | "Joe Gurt" | "nice to meet you" |
- AWS_REGION - the AWS region automatically available in AWS Lambda
- QUOTE_TABLE_NAME - the name of the DynamoDB table
- MAX_QUOTES - the maximum number of quotes in the database