aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
new file mode 100644
index 0000000..fbfb85e
--- /dev/null
+++ b/src/index.js
@@ -0,0 +1,4 @@
+import app from './app';
+
+const {PORT = 8080} = process.env;
+app.listen(PORT, () => console.log(`Listening on port ${PORT}`)); // eslint-disable-line no-console