diff --git a/.gitignore.txt b/.gitignore.txt new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.gitignore.txt @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/Procfile.txt b/Procfile.txt new file mode 100644 index 0000000..6f86b16 --- /dev/null +++ b/Procfile.txt @@ -0,0 +1 @@ +web: node server.js \ No newline at end of file diff --git a/package.json b/package.json index 872a889..4c26d4f 100644 --- a/package.json +++ b/package.json @@ -23,5 +23,6 @@ "expres": "^0.0.5", "express": "^4.17.1", "nodemon": "^2.0.15" - } + }, + "devDependencies": {} } diff --git a/server.js b/server.js index 4f5417c..52851e3 100644 --- a/server.js +++ b/server.js @@ -5,6 +5,10 @@ projectData = {}; const express = require("express"); const cors = require("cors"); const bodyParser = require("body-parser"); +const port = process.env.PORT || 3000; + + + // Start up an instance of app const app = express(); /* Middleware*/