랭킹으로 돌아가기Compojure
weavejester/compojure
ClojureA concise routing library for Ring/Clojure
clojureringroutinghttp
주요 지표
스타 성장
스타
4.1k
포크
259
주간 성장
—
이슈
5
2k4k
2011년 2월2013년 8월2016년 3월2018년 10월2021년 5월2023년 12월2026년 7월
README
Compojure 
Compojure is a small routing library for Ring that allows web applications to be composed of small, independent parts.
Installation
Add the following dependency to your deps.edn file:
compojure/compojure {:mvn/version "1.7.2"}
Or to your Leiningen project file:
[compojure "1.7.2"]
Documentation
Community
- Google Group
- #compojure on Freenode IRC
Usage
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 "/" [] "<h1>Hello World</h1>")
(route/not-found "<h1>Page not found</h1>"))
Also refer to the Getting Started page on the wiki.
License
Copyright © 2025 James Reeves
Distributed under the Eclipse Public License, the same as Clojure.
관련 저장소