Introduction #

  1. Create folder for you awesome application:

    macOS / Linux:

     mkdir awesome_application
     cd awesome_application
    

    Windows:

     To create folder manualy
    
  2. Make package.json file:

    2.1 Type command:

     npm init
    

    2.2 Fill information about you awesome application:

     name: (awesome_application) Awesome Application!
     version: (1.0.0)
     description: My first Awesome Application using ifnode!
     entry point: (index.js) app.js
     test command: 
     git repository: 
     keywords: 
     author: 
     license: (ISC)
    
  3. Install ifnode:

npm install ifnode --save
  1. Create app.js file:
var ifnode = require('ifnode'),
    awesome = ifnode({
        name: 'Awesome Application',
        alias: 'awesome'
    });

awesome.run(function() {
    console.log("I'm running! Check http://localhost:8080");
});
  1. Go to http://localhost:8080 - and you see working application!

  2. Dive into ifnode to know more possibilities

Table of Content