Saturday, July 19, 2014

Create your own simple node.js server, in few steps!

  1. Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.


  • Download node.js (http://nodejs.org/)
  • Install it on your machine.
  • Create a file for example server.js
  • Write following code in it.


  • Save the file.
  • Go to command prompt and type following command 

  • You will get message "My Server Started".
  • Go to browser and type following URL 
  •  You will get message "Welcome to My Server!"







1 comment:

  1. The IEEE Xplore digital library is your gateway to trusted research—journals, conferences, standards, ebooks, and educational courses—with more than 3 million articles to help you fuel imagination, build from previous research, and inspire new ideas.
    Final Year Projects for CSE in Node.js
    IEEE will pave a new way in knowledge-sharing and spreading ideas across the globe. Project Centers in Chennai for CSE

    Node.js Corporate Training
    JavaScript Training in Chennai

    ReplyDelete