Web server

From Logic Wiki
Jump to: navigation, search


Mongoose (Google)

http://code.google.com/p/mongoose/

Mongoose is the most easy to use web server on the planet. A web server of choice for Web developers (PHP, Ruby, Python, etc) and Web designers.

Nodejs

https://nodejs.org/

Node.js® is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

After installing node.js create a webserver.js file in installation folder

var connect = require('connect');
var serveStatic = require('serve-static');

var app = connect();
app.use(serveStatic("../Work/UnravealNg"));
app.listen(5100);

after that you can browse http://localhost:5100 and put files into UnravealNg folder to run.

But first run these commands in installation folder

npm install connect
npm install serve-static

start newly created web server with this command

node webserver.js

IIS

Apache