Skip to content

lukas-weiss/motivation-quote-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motivation-quote-go

MIT License

This project contains source code and supporting files for a serverless application to get a random motivation quote from famous athletes.

Development

Following the Google Styleguide

Using

  • gofmt
  • golint

Quotes

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

Example item of the DynamoDB table

id author quote
"1" "Joe Gurt" "nice to meet you"

Rquired environment variables

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages