Skip to content

jolexa/gimmeatroll.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WHAT?!

"What IS this?" :trollface:

This is a fun little serverless site. Don't take it too seriously, please. It was fun to build and I was experiementing with AWS API Gateway and Lambda integration. Every request to https://gimmeatroll.com/ will return a random troll gif.

How

This site is powered by a CloudFormation template that provisions:

  • Route 53
  • ACM Certificate (SSL)
  • API Gateway with Custom Domain
  • Lambda
  • S3

architechture

Caching?

I assume this will be used in Slack. When posted in Slack, the meta tag will be cached in the "unfurl cache" on Slack's service for approximately 30 minutes. Obviously, I cannot control this. So, to workaround that, this site does the same thing for any path on the url. That means, https://gimmeatroll.com/some_text_goes_here will also return a random gif. Now you can troll all the time. :trollface:

Rate Limiting?

"What if this goes viral?"

True! I don't want to get charged! There is a rate limit of 1 req/s on the site. At capacity, - this will still result in a $3.50+ service fee. =/

About

Fun, silly Serverless Thingy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published