An open API service indexing awesome lists of open source software.

https://github.com/spencermountain/express-popsicle

a js webserver that dynamically routes methods as a REST interface for prototyping
https://github.com/spencermountain/express-popsicle

Last synced: about 1 month ago
JSON representation

a js webserver that dynamically routes methods as a REST interface for prototyping

Awesome Lists containing this project

README

        

Express-popsicle
================

a js webserver that dynamically routes methods for prototyping

prototype without thinking

the Dao
====
create a folder in the /apps directory

create an index.js file like:

exports.yoyo=function(q){return "yo " + q}

when you (re)start the webserver,

node express.js 3141

you can call:

http://localhost:3141/my_folder/yoyo?q=mama

create an index.html file beside it, and you can ajax right to it

its a cute little framework for hacking in nodejs.