summaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-03-16 15:50:10 +0100
committerJules Laplace <jules@okfoc.us>2017-03-16 15:50:10 +0100
commit8e05164678d302700c794feecd50d83357f7719d (patch)
treeed5b167c75a2c4fdb5dcd8c409094b607698a0d5 /src/index.js
parentb8bfbbe14bdb72e4feccb4652c48f4cdb2a5e199 (diff)
feathers stuff
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
new file mode 100644
index 0000000..30e2908
--- /dev/null
+++ b/src/index.js
@@ -0,0 +1,9 @@
+'use strict';
+
+const app = require('./app');
+const port = app.get('port');
+const server = app.listen(port);
+
+server.on('listening', () =>
+ console.log(`Feathers application started on ${app.get('host')}:${port}`)
+); \ No newline at end of file