From 75f7468b4a7bb6f981f5981ccd9250da09cdc6b4 Mon Sep 17 00:00:00 2001 From: Raymonzut <40148684+Raymonzut@users.noreply.github.com> Date: Fri, 17 Apr 2020 22:45:45 +0200 Subject: [PATCH] Add simple express server --- server/index.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 server/index.js diff --git a/server/index.js b/server/index.js new file mode 100644 index 0000000..53be788 --- /dev/null +++ b/server/index.js @@ -0,0 +1,7 @@ +const express = require('express') + +const app = express() + +const port = process.env.PORT || 5000 + +app.listen(port, () => console.log(`Server started on port ${port}`))