translate uris to functions for ring
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/graft
test/graft
.gitignore
README
project.clj

README

# graft

Graft: because your REST end points are functions and already have names

Graft lets you specify a `root` (e.g. 'foo.bar) an returns a function that will try to map URI's from a request map (see the ring SPEC) to vars and call the function held by that var.

## Usage

(ring/run-jetty (graft 'foo.bar) {:port 8080})
;; functions in the foo.bar namespace will be exposed as urls

## Installation

FIXME: write

## License

Copyright (c) 2010 Kevin Downey and released under an MIT license.