Sunday, July 17, 2016

myFirst Express HellowWorld Node.js Project :D

Mari kita bikin projectnya dari awal pake nodeclipse.... :D


Terus klu kita run....klik kanan app.js, terus pilih run as node application :
Tampilannya di browser...
Yooooowh..... :D Terus klu kita ubah jadi Hellow Hisoka...

Hasilnya...

npm install connect in Nodeclipse

If you want to install connect module in nodeclipse, first thing you have to do is opening the package.json in your nodeclipse project like this :
Next.... add dependencies for connect-flass as shown below :
Next... right click on package.json, choose "Run as -- npm install" :
aaaand... doneee....
You can also install another module by just adding it here on depencies section, for example adding  "passport-google-oauth": "*", 
Then run it again as npm install...
Well... that's all... :D :D :D :D