Build a small node js program

Job ID: 32979947

Budget: $30 – $250 USD

create a command line node.js application that will read our configuration file and insert a new configuration section to the file. There are two main areas in the file that need to be updated when we add a client.

urlScreen – We will add a new element/json object to the array (hint look at JavaScript push method).

virtualApps – Same as above.

The basic outline of what you need to do:

Collect the needed items from the user (command line arguments and/or prompt user for needed items)
Read the config file with the fs library into a js variable
Parse the resulting string to a json object
Push the items onto the 2 arrays outlined above
Convert the js object back to a string
Write the resulting string back to a new file
Related categories: Node.js JSON