Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jig/nodejswebserver
- Owner: jig
- Created: 2012-07-14T22:24:02.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-09T17:14:49.000Z (over 12 years ago)
- Last Synced: 2024-04-14T15:51:30.921Z (7 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.