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.
Stephen Starkey, ACC 2ce93956fe Threaded count function 3 weeks ago
env Removed extraneous configuration files 3 weeks ago
resources/public First commit 3 weeks ago
src/clj/email_counter Threaded count function 3 weeks ago
test/clj/email_counter/test More test coverage 3 weeks ago
.gitignore First commit 3 weeks ago
README.md First commit 3 weeks ago
project.clj Removed extraneous configuration files 3 weeks ago

README.md

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