Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jig/nodejswebserver

Minimal nodeJS Web Server, enough to learn client JavaScript, HTML, CSS, and still be able to do some server programming
https://github.com/jig/nodejswebserver

Last synced: 6 days ago
JSON representation

Minimal nodeJS Web Server, enough to learn client JavaScript, HTML, CSS, and still be able to do some server programming

Awesome Lists containing this project

README

        

nodejsWebServer
===============

Minimal nodeJS Web Server, enough to learn client JavaScript, HTML, CSS, and still be able to do some server programming.

Installing
----------

### Prerequisites ###

NodeJS (tested with 0.8.1) and commander module (npm install commander)

### Installing ###

Copy all (two) files and invoke launch.js.

### Launch ###

Port 80 is used by default. If you do not have the proper privileges, you can change port with -p / --port argument option.

### Content-types supported ###

Content-types are set from file extension. HTML, CSS, JavaScript and ICO are defined, but is easy to add the wants you need be editing launch.js file.