From 66e6b47737a9e6411f430a5cd169315f04dcd078 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 17 Mar 2018 13:14:53 -0700 Subject: Add reify health from yesterday --- reify-health/src/reify/handler.clj | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 reify-health/src/reify/handler.clj (limited to 'reify-health/src') 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)) -- cgit v1.2.3