0.0.4 • Published 7 years ago
@xhallix/lightning-server v0.0.4
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.js
underbin
folder) - Run
$ node bin/index.js
Test
Test runs by using mocha $ ./node_modules/mocha/bin/mocha