Skip to content

Commit 5b04eae

Browse files
committed
Merge pull request #1 from tikluganguly/master
Initial code check in
2 parents 9cba1bd + ab726b7 commit 5b04eae

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Diff for: README

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The chat.js is a chat application which uses commet to do a both way communcation

Diff for: src/main.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
var http = require('http');
2+
http.createServer(function (req, res) {
3+
res.writeHead(200, {'Content-Type': 'text/plain'});
4+
res.end('Chat.js Server ready for interaction\n');
5+
}).listen(process.env.C9_PORT, "0.0.0.0");
6+
console.log('Server running at http://127.0.0.1:9000/');

0 commit comments

Comments
 (0)