Skip to content

Commit

Permalink
Configuring Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
moelshenawy committed Nov 13, 2021
1 parent dc18781 commit de66458
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
1 change: 1 addition & 0 deletions Procfile.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node server.js
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
"expres": "^0.0.5",
"express": "^4.17.1",
"nodemon": "^2.0.15"
}
},
"devDependencies": {}
}
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
Expand Down

0 comments on commit de66458

Please sign in to comment.