lrenn/compojure

Forked from weavejester/compojure

Concise web framework for Clojure

http://groups.google.com/group/compojure

License: EPL-1.0

Language: Clojure


Compojure is a small, open source web framework for the Clojure programming language.

An Example

Here's a small web application written using Compojure and Ring.

(ns hello-world
  (:use compojure.core, ring.adapter.jetty)
  (:require [compojure.route :as route]))

(defroutes main-routes
  (GET "/" [] "<h1>Hello World</h1>")
  (route/not-found "<h1>Page not found</h1>"))

(run-jetty main-routes {:port 8080})

Installing

The easiest way to use Compojure in your own projects is via Leiningen. Add the following dependency to your project.clj file:

[compojure "0.4.1"]

To build Compojure from source, run the following commands:

lein deps
lein jar

Mailing List

Compojure has a Google Group. This is the best place to ask questions and report bugs.

Project Statistics

Repository Size 5.31 MB
Stars 3
Forks 1
Watchers 2
Open issues disabled
Dependencies 0
Contributors 15
Tags 1
Created
Last updated
Last pushed

Top Contributors See all

James Reeves Allen Rohner Nicolas Buduroi Luke Renn Richard Newman Aaron Bedra Michael Nygard Chris Vest Pablo Fernandez Hong Jiang Tom Crayford Marko Mikulicic Adam Blinkinsop Sebastián Galkin Chas Emerick

Recent Tags See all

0.1 March 21, 2009

Something wrong with this page? Make a suggestion

Login to resync this repository