lightweight http server for developing web apps on node.js
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
README.md
package.json

README.md

node-hostme

A simple and lightwight node package that can host a local website serving static file requests on any of your folders and can proxy API service requests to remote server, which is very useful for API driven front-end development.

Intall Package

$ npm install -g node-hostme

Host Static

$ cd /some/folder
$ node-hostme -p 3000

If -p not specified, default to 3000.

Host with access to API server

$ cd /some/folder
$ node-hostme -p 3000 -s uat.example.com

So that, if request not found on local server will be forwarded to uat.example.com

Then you will be able to access your website

http://localhost:3000