Skip to content

Commit

Permalink
ADD :: 환경변수 세팅
Browse files Browse the repository at this point in the history
  • Loading branch information
anys34 committed Aug 20, 2023
0 parents commit 83732fb
Show file tree
Hide file tree
Showing 4 changed files with 702 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules

.DS_Store
8 changes: 8 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const express = require("express");

const app = express();
app.set("port", process.env.PORT || 3000);

app.listen(app.get("port"), () => {
console.log(app.get("port"), "node start!");
});
Loading

0 comments on commit 83732fb

Please sign in to comment.