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 […]
Visual Studio 2013 provides Task Runner Explorer for us to run Grunt & Gulp task right inside of Visual Studio. One can download Task Runner Explorer from Visual Studio Gallery Once installed we can now use npm to install grunt for us in our node web project.
1 2 3 4 5 6 |
npm install grunt --save-dev //the command above will install into our package.json file "devDependencies": { "grunt": "^0.4.5" } |
We now will create a new Gruntfile.js […]
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 Node.js Template Engine is a templating language for node.js, it provides an alternative syntax to write your HTML, some may say more pythonic or haml style. Jade by default comes with express web application framework for node.js, it is designed primarily for server side templating in node.js, and last but not least it is […]
Continuing on our previous blog post on bower, in this blog post, I will talk about how to create your own front-end packages in bower. One thing I forgot to mention in the previous post is git is required when using bower. If you are using windows you can install git for windows or Mac/Unix/Linux. […]
Here is a simple walk through of creating a express application with node.js using Visual Studio (NTVS). First lets launch visual studio and go to the JavaScript section and select the Blank Express Application. Once selected, I have named my application SimpleExpress, Visual Studio will start creating the skeleton of the project for you, and […]