This project is used to demonstrate how to build a simple web service which, when given a list of email addresses, will return the total number of unique instances of each address, after stripping out content that Gmail would normally ignore.

README.md 1023B

email-counter

This project is used to demonstrate how to build a simple web service which, when given a list of email addresses, will return the total number of unique instances of each address, after stripping out content that Gmail would normally ignore.

Given the peculiarities of the clojure web application landscape, quite a lot of this project is generated boilerplate using the Luminus micro-framework. You can learn more at http://www.luminusweb.net/

This particular service was generated using Luminus version 3.48

Prerequisites

You will need Leiningen 2.0 or above installed.

Developing

Unit tests can be found in

test/clj/email_counter/test

Run the unit tests using:

lein test

Main API routes can be found in

src/clj/email_counter/routes/services.clj

Running

To start a web server for the application, run:

lein run 

Then, after the application has started, open a web browser to http://localhost:3000