A concise routing library for Ring/Clojure
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Compojure is a small routing library for Ring that allows web applications to be composed of small, independent parts.
Add the following dependency to your
This small Compojure application demonstrates creating a Ring handler from two routes:
(ns hello-world.core (:require [compojure.core :refer :all] [compojure.route :as route]))
(defroutes app (GET "/"  "
Hello World") (route/not-found "
Page not found"))
Also refer to the Getting Started page on the wiki.
Copyright © 2020 James Reeves
Distributed under the Eclipse Public License, the same as Clojure.