Tag Archives: node.js

How to use Babel 6 on NodeJS backend

Babel supports future versions of Javascript and compile it to currently supported versions of Javascript. Very similar to TypeScript.

To use Babel 6 on your project:
Continue reading


Using gulp watchers

gulp allows you to create tasks that can be run through the command line. You can install plugins for it so you can do things like minify Javascript, Stylesheets…

gulp also comes with watchers, you can check files for changes and if a file change you can run tasks. Continue reading

NodeJS architecture based on ASP.NET MVC

The project for this post can be found at my GitHub. I’m using the following packages:

  • express: helps you setup your application to handle requests.
  • express-handlebars: this allows you to send data from the server to your views, you can think of it as the razor for node.

.NET MVC works by making requests map to controllers and actions. The same can be achieved in node.
Continue reading