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.
 

69 lines
2.6 KiB

(defproject email-counter "0.1.0"
:description "Simple web service for counting unique email addresses"
:url "https://git.calmabiding.me/scstarkey/email-counter"
:dependencies [[ch.qos.logback/logback-classic "1.2.3"]
[cheshire "5.8.1"]
[clojure.java-time "0.3.2"]
[com.sun.mail/javax.mail "1.6.0"]
[coreagile/defenv "1.0.4"]
[expound "0.7.2"]
[funcool/struct "1.4.0"]
[javax.mail/javax.mail-api "1.6.2"]
[javax.mail/mail "1.4"]
[luminus-http-kit "0.1.6"]
[luminus-transit "0.1.1"]
[luminus/ring-ttl-session "0.3.3"]
[markdown-clj "1.10.0"]
[metosin/muuntaja "0.6.4"]
[metosin/reitit "0.3.9"]
[metosin/ring-http-response "0.9.1"]
[mount "0.1.16"]
[nrepl "0.6.0"]
[org.clojure/clojure "1.10.1"]
[org.clojure/tools.cli "0.4.2"]
[org.clojure/tools.logging "0.5.0"]
[org.webjars.npm/bulma "0.7.5"]
[org.webjars.npm/material-icons "0.3.0"]
[org.webjars/webjars-locator "0.36"]
[prismatic/schema "1.1.12"]
[ring-webjars "0.2.0"]
[ring/ring-core "1.7.1"]
[ring/ring-defaults "0.3.2"]
[selmer "1.12.14"]]
:min-lein-version "2.0.0"
:source-paths ["src/clj"]
:test-paths ["test/clj"]
:resource-paths ["resources"]
:target-path "target/%s/"
:main ^:skip-aot email-counter.core
:plugins []
:profiles
{:uberjar {:omit-source true
:aot :all
:uberjar-name "email-counter.jar"
:source-paths ["env/prod/clj"]
:resource-paths ["env/prod/resources"]}
:dev [:project/dev :profiles/dev]
:test [:project/dev :project/test :profiles/test]
:project/dev {:dependencies [[pjstadig/humane-test-output "0.9.0"]
[prone "2019-07-08"]
[ring/ring-devel "1.7.1"]
[ring/ring-mock "0.4.0"]]
:plugins [[com.jakemccrary/lein-test-refresh "0.24.1"]]
:source-paths ["env/dev/clj"]
:resource-paths ["env/dev/resources"]
:repl-options {:init-ns user}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]}
:project/test {:resource-paths ["env/test/resources"]}
:profiles/dev {}
:profiles/test {}})