Need help with compojure?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

weavejester
3.9K Stars 258 Forks Eclipse Public License 1.0 953 Commits 6 Opened issues

Description

A concise routing library for Ring/Clojure

Services available

!
?

Need anything else?

Contributors list

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.6.2"]

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 "/" [] "

Hello World

") (route/not-found "

Page not found

"))

Also refer to the Getting Started page on the wiki.

License

Copyright © 2020 James Reeves

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.