Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
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.

About

translate uris to functions for ring

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages