Simple HTTP server for localhost development
Want to see pretty graphs? Log in now!
npm install node-dev-server
|3||downloads in the last week|
|14||downloads in the last month|
|Last Published By|
|Version||0.0.1 last updated 8 months ago|
|Keywords||simple, http, nodejs, server|
Simple Development Server
Ideal for local single page applications development
Then you develop client-side applications, you can be hit by few problems: browser prohibit access resources, if app is started from
file://... or some client routing problems.
Entry point of application is
index.html and you want to serve it from
It's very similar to SimpleHTTPServer, but more suitable if you don't want to stick to Python environment and use Node.js instead.
Assuming your application structure is something like,
+- public | - components | - js | - css + - index.html
You run npm install
$ npm install node-dev-server
$ node ./node_modules/bin/.node-dev-server