Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit 5e2b6acd8a7cbd013e6786a44e5ed783a5f7e214 0 parents
@croach authored
Showing with 40 additions and 0 deletions.
  1. +28 −0 README.md
  2. +12 −0 app.js
28 README.md
@@ -0,0 +1,28 @@
+Node.js Blog Engine
+===================
+
+This is the source code for the Nettuts+ series on web development with Node.js.
+
+### v0.0
+This is the code for the first part of the series. This was essentially an introduction to Node and the code is a simple Hello World example.
+
+License
+=======
+
+<p xmlns:dct="http://purl.org/dc/terms/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">
+ <a rel="license"
+ href="http://creativecommons.org/publicdomain/zero/1.0/">
+ <img src="http://i.creativecommons.org/p/zero/1.0/80x15.png" style="border-style: none;" alt="CC0" />
+ </a>
+ <br />
+ To the extent possible under law,
+ <a rel="dct:publisher"
+ href="http://christopherroach.com">
+ <span property="dct:title">Christopher Roach</span></a>
+ has waived all copyright and related or neighboring rights to
+ <span property="dct:title">Node.js Blog Engine</span>.
+This work is published from:
+<span property="vcard:Country" datatype="dct:ISO3166"
+ content="US" about="http://christopherroach.com">
+ United States</span>.
+</p>
12 app.js
@@ -0,0 +1,12 @@
+var http = require('http');
+
+var server = http.createServer(function(request, response) {
+ response.writeHead(200, {
+ 'Content-type': 'text/plain'
+ });
+ response.end('Hello World');
+});
+
+server.listen(8000);
+
+console.log('Listening on http://127.0.0.1:8000');
Please sign in to comment.
Something went wrong with that request. Please try again.