|
2 months ago | |
---|---|---|
env | 2 months ago | |
resources/public | 2 months ago | |
src/clj/email_counter | 2 months ago | |
test/clj/email_counter/test | 2 months ago | |
.gitignore | 2 months ago | |
README.md | 2 months ago | |
project.clj | 2 months ago |
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
You will need Leiningen 2.0 or above installed.
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
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