Skip to content

Commit 260cd75

Browse files
author
Sergey Puzankov
committed
init commit
0 parents  commit 260cd75

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
var http = require('http');
2+
3+
http.createServer(function (req, res) {
4+
console.log(res);
5+
res.writeHead(200);
6+
res.end('Hello Node.js');
7+
}).listen(3000);
8+
9+
console.log('Node started on http://localhost:3000');

0 commit comments

Comments
 (0)