Geertjan's Blog

  • April 29, 2015

Node.js Express App in NetBeans IDE

Geertjan Wielenga
Product Manager

The Visual Studio tutorial "Developing Node Applications" is... all about using the command line to set up a Node application. Here's the NetBeans IDE equivalent (using a development build, i.e., this is not in NetBeans IDE 8.0.2) of at least the first half of that tutorial, in screenshots, i.e., the whole process is automated, which is the point of tooling, i.e., to provide automation.

Click Finish after the above steps and you have a complete Express application, exactly the same as described in the Visual Studio tutorial above.

Then run it and you can use the many supporting tools in the IDE to tinker further with your application:

Join the discussion

Comments ( 5 )
  • rrohm Friday, May 1, 2015

    That's great! I'm looking forward to seeing it in the NB production release.


  • hatanet Monday, May 11, 2015

    In my OpenSuse & NetBeans802 setup, my ExpressJS has ./public and a ./public_html structure where the package.json file resides. Where should the base web site deploy from in terms of index.html, especially when React and Bootstrap involvement is concerned.

    Second question is when is the strong suite of ExpressJS over ZendFramework in terms of MVC folders(or separation of components), as my understanding is that express just compiles <less> on the fly and frameworks(eg Zend, Cake, Symfony, etc) can help in performance, etc.?

    Third, what is the purpose of bin/www, and can it be used to include/deploy Cordova to the project by tapping into relevant code and node_modules?

  • guest Monday, July 20, 2015

    When we can expect this to come in production release??

  • guest Wednesday, October 7, 2015

    I've installed NetBeans 8.1beta and have been able to form a node.js application. The file structure looks like the one you show.

    However, I'm presently able to ONLY run index.html

    What should I include in app.js that will enable me to run other html files?

    I think this has got to do with: app.use(express.static(path.join(__dirname, 'public')));

    How do I modify to be able to run other files located in /views folder?

    I'd appreciate your direction.

  • MGad Wednesday, March 1, 2017

    How Get node link in mac?

    Example: C:\\Progtram Files\nodejs\node.exe in window

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.