- Notifications
You must be signed in to change notification settings - Fork260
A concise routing library for Ring/Clojure
License
NotificationsYou must be signed in to change notification settings
weavejester/compojure
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Compojure is a small routing library forRing that allows webapplications to be composed of small, independent parts.
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"]- Google Group
- #compojure onFreenode IRC
This small Compojure application demonstrates creating a Ring handlerfrom two routes:
(nshello-world.core (:require [compojure.core:refer:all] [compojure.route:as route]))(defroutesapp (GET"/" []"<h1>Hello World</h1>") (route/not-found"<h1>Page not found</h1>"))
Also refer to theGetting Started page on the wiki.
Copyright © 2025 James Reeves
Distributed under the Eclipse Public License, the same as Clojure.
About
A concise routing library for Ring/Clojure
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.