An app that fetches gifs from giphy and generates a shortlink to them.
This app was written to showcase connecting monoliths to microservices using Consul DNS interface. It was showcased at a talk given on Consul - "Bridging Past, Present, and Future infrastructure with Consul" at DevOps Barcelona.
gem install bundler
bundle install
Set environment variables
export GIPHY_API_KEY="API_KEY_HERE"
Optionally set redis password.
export REDIS_PASSWORD="REDIS_PASSWORD_HERE"
Run application
ruby app.rb
Open in browser
curl localhost:4567