gateserverauth
v0.0.5
Published
Gateway Server + Authenticator
Downloads
5
Maintainers
Readme
Gateway Server + Authenticator
Under development...
Usage
// require gateserver
const {TGateServerAuth} = require('gateserver-auth');
// create server instance
const server = new TGateServerAuth;
// load module definition
server.Modules = {
"mock-test": {
"host": "http://localhost:3000"
}
};
// start server on port 8080
server.listen(8080);