Config and login
Change-Id: I81ffb9b8097620cb7870beaf1b1b315945eebec0
diff --git a/conf/app/app.config.dev.ts b/conf/app/app.config.dev.ts
new file mode 100644
index 0000000..749ccc5
--- /dev/null
+++ b/conf/app/app.config.dev.ts
@@ -0,0 +1,11 @@
+/// <reference path="../../../typings/index.d.ts"/>
+
+export interface IAppConfig {
+    apiEndpoint: string;
+    websocketClient: string;
+}
+
+export const AppConfig: IAppConfig = {
+    apiEndpoint: 'http://xos.dev:3000/api',
+    websocketClient: 'http://xos.dev:3000/socket.io/socket.io.js'
+};
diff --git a/conf/app/app.config.production.ts b/conf/app/app.config.production.ts
new file mode 100644
index 0000000..6ae83a4
--- /dev/null
+++ b/conf/app/app.config.production.ts
@@ -0,0 +1,11 @@
+/// <reference path="../../../typings/index.d.ts"/>
+
+export interface IAppConfig {
+    apiEndpoint: string;
+    websocketClient: string;
+}
+
+export const AppConfig: IAppConfig = {
+    apiEndpoint: 'http://xos-rest-gw:3000/api',
+    websocketClient: 'http://xos-rest-gw:3000/socket.io/socket.io.js'
+};
diff --git a/conf/app/app.config.test.ts b/conf/app/app.config.test.ts
new file mode 100644
index 0000000..0b10e64
--- /dev/null
+++ b/conf/app/app.config.test.ts
@@ -0,0 +1,11 @@
+/// <reference path="../../../typings/index.d.ts"/>
+
+export interface IAppConfig {
+    apiEndpoint: string;
+    websocketClient: string;
+}
+
+export const AppConfig: IAppConfig = {
+    apiEndpoint: 'http://xos-test:3000/api',
+    websocketClient: 'http://xos-test:3000/socket.io/socket.io.js'
+};
diff --git a/conf/app/style.config.cord.ts b/conf/app/style.config.cord.ts
new file mode 100644
index 0000000..120725f
--- /dev/null
+++ b/conf/app/style.config.cord.ts
@@ -0,0 +1,11 @@
+/// <reference path="../../../typings/index.d.ts"/>
+
+export interface IStyleConfig {
+    projectName: string;
+    favicon: string;
+}
+
+export const StyleConfig: IStyleConfig = {
+    projectName: 'CORD',
+    favicon: 'cord-favicon.png'
+};
diff --git a/conf/app/style.config.opencloud.ts b/conf/app/style.config.opencloud.ts
new file mode 100644
index 0000000..9423866
--- /dev/null
+++ b/conf/app/style.config.opencloud.ts
@@ -0,0 +1,11 @@
+/// <reference path="../../../typings/index.d.ts"/>
+
+export interface IStyleConfig {
+    projectName: string;
+    favicon: string;
+}
+
+export const StyleConfig: IStyleConfig = {
+    projectName: 'OpenCloud',
+    favicon: 'opencloud-favicon.png'
+};
diff --git a/conf/gulp.conf.js b/conf/gulp.conf.js
index 12e482e..ab46d42 100644
--- a/conf/gulp.conf.js
+++ b/conf/gulp.conf.js
@@ -17,6 +17,7 @@
 exports.paths = {
   src: 'src',
   dist: 'dist',
+  appConfig: 'conf/app',
   tmp: '.tmp',
   e2e: 'e2e',
   tasks: 'gulp_tasks'