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
- Host: GitHub
- URL: https://github.com/spencermountain/express-popsicle
- Owner: spencermountain
- Created: 2012-10-31T23:38:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-19T15:17:26.000Z (about 12 years ago)
- Last Synced: 2025-01-26T03:26:30.614Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 234 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 directorycreate 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.