Lemon uses Mandrill webhooks to capture email event data and performs analytics on data received.
You'll need Golang and PostgreSQL set up on your machine.
$ git clone https://github.com/GeekG1rl/lemon
$ cd lemon
$ bundle install
$ bin/rake db:create
$ bin/rake db:migrate
Open terminal:
$ bin/rails s
Open another terminal window:
$ cd llirdnam-master/llirdnam
$ go run llirdnam.go http://localhost:9000/event
Analytics:
http://localhost:9000
- Rails 4.2.6
- ActiveRecord
- PostgreSQL
- RSpec
- Capybara
- I chose to return analytics data as JSON so other developers can hook in and display as they see fit
- I recommend using the Chrome extension JSONView, which prettifies the output in the browser
- Email types haven't been hardcoded and could be simply extended for a new event such as "4thBirthdayInvite"