0.0.4 • Published 7 years ago

@xhallix/lightning-server v0.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
7 years ago

Lightning Server

A total minimalistic node.js webserver

Intention

When doing some framework / concept testings, there is often some need to serve static files from a minimalistic server. Instead of re-typing a server, this will help you to build up a node express server from the commandline, providing your html entry point and the port.

Usage

  • Install dependecies $ npm install
  • Configure your server in lightning-config.js
  • Run $ node bootstrap.js (This will create a new index.js under bin folder)
  • Run $ node bin/index.js

Test

Test runs by using mocha $ ./node_modules/mocha/bin/mocha