Compojure

适用于 Ring/Clojure 的简明路由库。「A concise routing library for Ring/Clojure」

Github星跟蹤圖

Compojure

Build Status

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 project.clj file:

[compojure "1.7.1"]

Documentation

Community

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 © 2024 James Reeves

Distributed under the Eclipse Public License, the same as Clojure.

主要指標

概覽
名稱與所有者weavejester/compojure
主編程語言Clojure
編程語言Clojure (語言數: 2)
平台
許可證Eclipse Public License 1.0
所有者活动
創建於2008-05-01 00:31:39
推送於2024-01-31 18:54:43
最后一次提交2024-01-31 18:54:32
發布數66
最新版本名稱1.7.1 (發布於 2024-01-31 18:54:32)
第一版名稱0.3.1 (發布於 2009-09-28 17:01:09)
用户参与
星數4.1k
關注者數107
派生數258
提交數1k
已啟用問題?
問題數159
打開的問題數5
拉請求數31
打開的拉請求數1
關閉的拉請求數29
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?