DEPRECATED. See new implementation using React.
This server is the gateway to the front-end html, css, javascript, images and more. It validates the user's token and sends back the required files. The front-end uses AngularJS, ionic, pug (previously jade) and stylus.
I suggest you first read about the different components of the home automation application.
This will help you understand better the general architecture and different functions of the system.
Click here and follow the installation instructions for the server micro-service, before moving to the next step.
AUTH_PUBLIC_KEY (required): content of auth server's publickey.
NODE_ENV (required): set up the running environment. Default: production
. production
will enforce encryption using SSL and other security mechanisms.
PORT (required): server's port. default: 3002
ALARM_URL (required): url to the alarm system server. Default: //localhost:3002
CAMERA_URL (required): url to the camera server. Default: //localhost:3007
GARAGE_URL (required): url to the garage server. Default: //localhost:3003
LOGIN_URL (required): url to the authentication server. Default: //localhost:3001
PUSH_URL (required): url to the push server. Default: //localhost:3005
STORAGE_URL (required): url to the storage server. Default: //localhost:3006