Slide 57
Slide 57 text
Compojure
(use 'compojure.core)
(require '[compojure.route :as route]
'[clojure.string :as str])
(defroutes handler
(context "/:word" [word]
(GET "/" word)
(GET "/shout" (str/upper-case word)))
(route/not-found "Page Not Found"))