Get a visitor's IP address and email it with Mandrill in Go on Heroku
I developed a simple web application in Go that when visited would find the visitor's IP address and email it via Mandrill. This application is a proof of concept, simply to try my hand at building an application in Go:
- utilizing dependency management (i.e. GoDeps)
- performing practical tasks like obtaining IP address information from behind a firewall (as with Nginx or Heroku)
- interacting with an API, i.e. Mandrill
- deploying a Go application to Heroku
This tool is ready to go out-of-the box—all that's required is setting some environment variables as per the documentation to customize it to work with your email address, redirect URL, and Mandrill account. Check it out on Github.