@xhallix/lightning-server
v0.0.4
Published
A minimalistic node-js testing server
Downloads
4
Readme
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 newindex.jsunderbinfolder) - Run
$ node bin/index.js
Test
Test runs by using mocha $ ./node_modules/mocha/bin/mocha
