Divine-promise commited on
Commit
601040e
1 Parent(s): 873f941

Create server.js

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