GitXplorerGitXplorer
n

wakeful

public
27 stars
9 forks
2 issues

Commits

List of commits on branch develop.
Unverified
0befdebcb6ec5a276952a358a45ef461bf7b875c

snapshot

nninjudd committed 12 years ago
Unverified
fddc64859b9259a7c43dde252d74b15dcec5205b

0.5.3

nninjudd committed 12 years ago
Unverified
7350dee569d7d9bea20b7cd344de13620118f945

always add resources /

nninjudd committed 12 years ago
Unverified
6913defc4781cc8217e20d6d2658ecada672dc20

snapshot

nninjudd committed 12 years ago
Unverified
83769db66a8a48a07d74fbe1c9bb3081034bd7f4

0.5.2

nninjudd committed 12 years ago
Unverified
5ff429145e0c01dea07c1ad1f2bc5ea486ef097e

make methods that start with dash inaccessible via api so they can be used internally

nninjudd committed 12 years ago

README

The README file for this repository.

Wakeful

Wakeful is a Restful routing alternative for Clojure. It makes it really easy to connect your web api to namespaces in your project.

Usage

(use 'flatland.wakeful.core)

(def handler (wakeful "awesome.api"))

Now http calls dispatch to methods calls in namespaces under awesome.api:

GET  /photo-123/thumbnail  -> awesome.api.photo/thumbnail
GET  /photo-123/tags       -> awesome.api.photo/tags
POST /photo-123/tag/user-1 -> awesome.api.photo/tag!