To continue on with our previous blog post, I will introduce Hashicorp Vault as a key management to manage our secrets for our Nodejs weather application. Installing Vault I will use docker to pull the docker image from dockerhub. Now that I have vault image pulled, I will create a docker compose file for Vault […]
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 […]
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
1 2 3 |
@echo off xcopy C:\source\*.txt C:\target exit |
And if you come from […]
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 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 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 […]