Input validation uses Malli coercion. Sadly enough, email is validated with a regexp.
16 lines
720 B
Clojure
16 lines
720 B
Clojure
(defproject yohoho "0.1.0-SNAPSHOT"
|
||
:description "Yo-Ho-Ho, a take home assignment for the brave"
|
||
:url "https://git.dromaludaire.info/yohoho"
|
||
:license {:name "WTFPL – Do What the Fuck You Want to Public License"
|
||
:url "https://www.wtfpl.net/about/"}
|
||
:dependencies [[org.clojure/clojure "1.12.4"]
|
||
[ring/ring-core "1.15.3"]
|
||
[ring/ring-jetty-adapter "1.15.3"]
|
||
[metosin/reitit "0.10.0"]
|
||
[metosin/reitit-malli "0.10.0"]
|
||
[metosin/muuntaja "0.6.11"]]
|
||
:main ^:skip-aot yohoho.core
|
||
:target-path "target/%s"
|
||
:profiles {:uberjar {:aot :all
|
||
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]}})
|