Skip to content

Commit

Permalink
cool
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanwahab committed Dec 28, 2023
1 parent 1efac6b commit 03e00d6
Show file tree
Hide file tree
Showing 3 changed files with 2,622 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,9 @@
"dnsutils"
]
}
}
}
},
"directories": {
"lib": "lib"
},
"author": ""
}
12 changes: 12 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const express = require('express');
const app = express();
const port = 8080;

app.get('/', (req, res) => {
console.log('Received message from client');
res.send('Hello from Express server');
});

app.listen(port, () => {
console.log(`Server listening at http://localhost:${port}`);
});
Loading

0 comments on commit 03e00d6

Please sign in to comment.