0.0.8 • Published 8 years ago

bb-http-server v0.0.8

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

bb-http-server_node

version node npm

This is a simple HTTP server runs on nodejs.
Web contents such as "http://host/index.cgi.js", are operated as CGI on nodejs.

Image

      request
USER ----------> http://host/<path>
                  |
                  | map
       response   v
USER <---------- ${dirname}/public/<path>  // if the path ends with ".cgi.js", the script file is operated.

Demo

$ git clone https://github.com/takayoshiotake/bb-http-server-sample_node.git bb-http-server-sample
$ cd bb-http-server-sample
$ npm install
$ npm start

Access http://127.0.0.1:8080

0.0.8

8 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago