node-hostme
v0.1.13
Published
lightweight http server for developing API based web apps
Downloads
5
Readme
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