Skip to content

hiredman/graft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

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.

About

translate uris to functions for ring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published