To use Babel 6 on your project:
gulp also comes with watchers, you can check files for changes and if a file change you can run tasks. Continue reading
Visual Studio has the magic window “Test Explorer” which discovers unit tests on your application and list them. It shows information about the tests.
It can be used on a NodeJS project.
Gulp is a module you can install on your project by running:
npm i gulp --save-dev
When developing a NodeJS application in TypeScript you need the definition files for the modules you are going to use. To make it easier to download them there is a module you can install called tsd.
To install tsd:
npm i -g tsd
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.