summaryrefslogtreecommitdiff
path: root/reify-health/src
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-03-17 13:14:53 -0700
committerBen Sima <ben@bsima.me>2018-03-17 13:14:53 -0700
commit66e6b47737a9e6411f430a5cd169315f04dcd078 (patch)
tree15ebb5ba14f22c52faf487a7a4bdcb7e54cf332e /reify-health/src
parentb48cd6640e4029b91d63c4f6a1843f953d4ff673 (diff)
Add reify health from yesterday
Diffstat (limited to 'reify-health/src')
-rw-r--r--reify-health/src/reify/handler.clj11
1 files changed, 11 insertions, 0 deletions
diff --git a/reify-health/src/reify/handler.clj b/reify-health/src/reify/handler.clj
new file mode 100644
index 0000000..b6c6683
--- /dev/null
+++ b/reify-health/src/reify/handler.clj
@@ -0,0 +1,11 @@
+(ns reify.handler
+ (:require [compojure.core :refer :all]
+ [compojure.route :as route]
+ [ring.middleware.defaults :refer [wrap-defaults site-defaults]]))
+
+(defroutes app-routes
+ (GET "/" [] "Hello World!!")
+ (route/not-found "Not Found"))
+
+(def app
+ (wrap-defaults app-routes site-defaults))