Taswar Bhatti
The synonyms of software simplicity
Tag: node.js
nodejs-vscode-docker-logo

In this post, we will continue our previous nodejs weather application and introduce Docker for NodeJS application using VSCode. We will build our application and host it in docker by adding a Dockerfile. We will modify our code to take the APIKEY from an environment variable. Create Dockerfile Let’s launch our editor VSCode again with […]

fakerjs

Last time I did a sample app to generate large amount of data using GenFu in C# so that I can be in .NET land but I wanted to also try out what it would be like to generate fake data in node.js using VSCode. My investigation lead me to Faker.js, which would allow me […]

Grunt

Sorry for not blogging for a while, have been busy with joining a new company. I wanted to finish up the blog post series with Running Grunt to test your JavaScript application. In this post I will cover using Jasmine and Phantom.js. I have been a big fan of phantomjs a headless browser to test […]

Grunt

Sorry for not posting regularly here, I was on holidays during late December till January, so didn’t get the time or the change to blog, but will get back to the routine of blogging more often. This blog post will be the continuation on Using Grunt. We went through some basic of using Grunt, in […]

Grunt

In this post I will show how to use Grunt Launcher in Visual Studio 2012, there is also Task Runner but it only works in Visual Studio 2013, and there are no plans to making it to work in 2012. 🙁 No worries since there is Visual Studio Grunt Launcher that one can use in […]

Grunt

So what is Grunt? Grunt is a task-based command line build tool for JavaScript projects. If you are in the .NET world you may have written some bat files to automate some task, e.g copy some files from one directory to the other. Or have used Psake or MSBuild

And if you come from […]

Jade

Jade Node.js Template Engine, Include & Template Inheritance Part 6 In this post, I will write about using includes and template inheritance in Jade template engine. You can also check out my previous 5 post on Jade. Jade Node.js Template Engine Part 1 Jade Node.js Template Engine Basics Syntax Part 2 Jade Node.js Template Engine […]

Jade

Jade Node.js Template Engine, Filters & Mixins In my previous post I have talked about conditional statements inside of jade. In this post I will write about filters and mixins in jade template engine. Filters Filters in jade means something different from what you may know as filters like the ones in Angular.js. In Jade […]

Jade

Jade Node.js Template Engine, Conditional Logic Statements In my previous post I have talked about databinding with jade, i.e. feeding data to your template. In this post I will write about how one can use conditional and logical statements (for, if, while statements) in jade template engine. Ternary Operation The conditional ternary operator can be […]

Jade

In my previous post I showed the basic syntax of jade when using express application in node.js, in this post I will go over the DataBinding aspects of jade template engine. Jade Node.js Template Engine DataBinding through Interpolation Jade provides interpolation of variables using the #{} syntax, Hash, Curly Brackets. For example if we have […]

UA-4524639-2