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