text: 'use strict';
  
  var os = require('os'),
    rooms = require('roomsjs'),
    roomdb = require('rooms.db'),
    port = (process.env.PORT || 8081);
  
  // create express server if needed
  var express = require('express'),
    app = express().use(express.static(__dirname + '/client'));
  
  var server = require('http').createServer(app).listen(port, '0.0.0.0');
  
  // services
  roomdb.setServices('services_example/', app, 'get');
  roomdb.setServices('services_post_example/', app, 'post');
  
  // connect to different database/s if needed
  // Mysql:
  // roomdb.connectToDatabase('mysql', 'localhost', {user: 'root', password: ''});
  // MongoDB
  // roomdb.connectToDatabase('mongodb', 'mongodb://localhost/test', {});
  
  // set rooms
  rooms = new rooms({
    isdebug : true,
    transporter : {
      type: 'sockjs',
      server : server,
      p2pname: 'yourUniqueChannelName'
    },
    roomdb : null /* use 'roomdb' or 'null' if db not needed */
  });