Freshguy commited on
Commit
0042731
1 Parent(s): 69689d5

Create Server.js

Browse files
Files changed (1) hide show
  1. Server.js +8 -0
Server.js ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ const http = require('http');
2
+
3
+ http.createServer((req, res) => {
4
+ res.writeHead(200, {'Content-Type': 'text/html'});
5
+ res.end('<html><body>Lyfe</body></html>');
6
+ }).listen(7860, () => {
7
+ console.log('Server listening on port 7860');
8
+ });