EckoThemes
EckoThemes

Cedar is a multi-author & personal blog theme for the WordPress platform. Featuring a minimal, responsive, content-focused design and single-column layout. Available on ThemeForest.

Harvey Specter has built a career and reputation by breaking the rules. Harvey's shoot-from-the-hip style has made him an effective lawyer and a slick character.

Share Article


Subscribe to EckoThemes


Subscribe to our email newsletter to receive article notifications and regular updates.

Simple HTTP Server in NodeJS

Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications.

Harvey SpecterHarvey Specter

Node.js uses an event-driven, non-blocking model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devicesThis simple web server written in Node responds with “Hello World” for every request. To run the server, put the code into a file example.js and execute it with the node program from the command line.

var http = require('http');
http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end('Hello Worldn');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');

NodeSchool is a fantastic resource for learning about Node.js and the related ecosystem around Node. There are a series of curricula which are designed with a choose your own adventure style. They are meant to help you learn core concepts of Node.js but it also provides a framework for creating your own curriculum.

Harvey Specter has built a career and reputation by breaking the rules. Harvey's shoot-from-the-hip style has made him an effective lawyer and a slick character.

Comments 1
  • Harvey Specter
    Posted on

    Harvey Specter Harvey Specter

    Reply Author

    Comments which are made by the author are marked with the ‘Author’ tag, such as this one. Replies to posts are indented.