lightweight http server for developing API based web apps
npm install node-hostme
|8||downloads in the last month|
|Version||0.1.7 last updated 2 months ago|
|Keywords||host, server, api, frontend|
|Dependencies||connect, optimist, http-proxy, cli-color, open|
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.
$ npm install -g node-hostme
$ 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