Files
yohoho/project.clj
Benjamin Sigonneau c278633c66 Initial commit
This initial version is purposely extremily limited:
* `GET /ahoy` endpoint, just to check the server is alive
* `GET /items` endpoint, always returns the same item
* `POST items` endpoint, checks and print request payload, no
  persistance
* calling any other route defaults to a 404
2026-01-31 13:37:16 +01:00

15 lines
671 B
Clojure
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(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/muuntaja "0.6.11"]]
:main ^:skip-aot yohoho.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]}})