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

Advertisements

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