Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junosuarez/wham
node module: an http interface dsl
https://github.com/junosuarez/wham
Last synced: 8 days ago
JSON representation
node module: an http interface dsl
- Host: GitHub
- URL: https://github.com/junosuarez/wham
- Owner: junosuarez
- License: mit
- Created: 2013-03-08T11:58:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-02T22:21:39.000Z (almost 11 years ago)
- Last Synced: 2024-09-18T01:13:19.709Z (about 2 months ago)
- Language: JavaScript
- Size: 155 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# wham
whimsical web frameworkthis is a work in progress. life a the bleeding edge! i sure hope you know what you're doing....
## Stability
Experimental: Expect the unexpected. Please provide feedback on api and your use-case.
## a peek at what your life could be like:
var wham = require('wham')('demo')
var shows = require('./core/shows')
wham('showsList', '/shows')
.get(shows.list, 'req.query.skip', 'req.query.limit', 'req.user')wham('upcomingShows', '/shows/upcoming')
.get(shows.listFuture, 'req.query.skip', 'req.query.limit', 'req.user')wham('upvote', '/shows/:id/upvote')
.put({auth: true},
shows.upvoteShow, 'req.params.id', 'req.user')wham('downvote', '/shows/:id/downvote')
.put({auth: true},
shows.upvoteShow, 'req.params.id', 'req.user')wham.bam(2323)
## author
jden
## license
MIT. (c) 2013 jden . See LICENSE.md