Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# 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.