anubhavmishra / giphylink

An app that fetches gifs from giphy and generates a link to them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

giphylink

An app that fetches gifs from giphy and generates a shortlink to them.

Overview

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.

Usage

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

About

An app that fetches gifs from giphy and generates a link to them.

License:Mozilla Public License 2.0


Languages

Language:Ruby 46.6%Language:HTML 43.9%Language:Makefile 9.6%