admin
a web based admin panel
Features
- Web administration interface for resources
- Forms
- Suite of browser integration tests
Running the tests
- Install
wd
package from npm - Install Selenium Stand-alone Server Download
- Start Selenium server ( open the
.jar
file ) node test/basic-test.js
Note: The basic tests use the firefox
browser, so you will need to have that installed.
API
properties
methods
a web based admin panel
-
id
- type : any
methods
admin.listen(options, callback)
start a listening admin web server
-
options
-
type : object
-
properties
-
port
-
type : number
-
default : 8888
-
description : the port to listen on
-
-
host
-
type : string
-
default : 0.0.0.0
-
description : the host interface to listen on
-
-
-
-
callback
- type : function
admin.start(options, callback)
start a listening admin web server
-
options
-
type : object
-
properties
-
port
-
type : number
-
default : 8888
-
description : the port to listen on
-
-
host
-
type : string
-
default : 0.0.0.0
-
description : the host interface to listen on
-
-
-
-
callback
- type : function
dependencies
README auto-generated with docs