summaryrefslogtreecommitdiff
path: root/reify-health/src/reify
diff options
context:
space:
mode:
Diffstat (limited to 'reify-health/src/reify')
-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))