/express-webserver

A quick Express Webserver for Static Assets

Primary LanguageJavaScriptMIT LicenseMIT

Express Webserver

A Quick Express Webserver for Static Assets

I use this webserver to kickstart projects and protoypes invloving static assets

Installation & Requirements

Node.js & Express .

Install Express:

$ cd yourdirectory
$ npm install express

Run the webserver inside your directory:

$ node server.js

Usage

By default the webserver script exposes the files in your directory on the 8080 port. You can change the default port by modifying the port value.