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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Stephen Starkey 2ce93956fe Threaded count function 2 years ago
env Removed extraneous configuration files 2 years ago
resources/public First commit 2 years ago
src/clj/email_counter Threaded count function 2 years ago
test/clj/email_counter/test More test coverage 2 years ago
.gitignore First commit 2 years ago
README.md First commit 2 years ago
project.clj Removed extraneous configuration files 2 years 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