Taswar Bhatti
The synonyms of software simplicity
Category: node.js
Javascript

Thanks to the organizers of ForwardJS Ottawa to let me speak on Cloud Design Patterns using Nodejs, I had a great time at the conference for anyone who is looking for my sides there are located right below. If anyone wants to view the demo code I showed please look at this blog post on […]

retry-pattern-nodejs-with-promise

One of the easiest cloud design pattern that one can try out is the Retry Pattern. I wanted to show how to use an Retry Pattern in Node.js using Promise as a example. So what does the Retry Pattern achieves? Problem Statement – What is the issue the pattern solves? When building applications you always […]

DevTeach Mntreal Speaker

I will be speaking at forwardjs Ottawa on April 10th and 11th 2019. I will be doing 8 Cloud Design Pattern you ought to know but more specific to using Node.js. There should be a video for it months later that I hope to share. If you wish to watch my last year talk on […]

nodejs-vscode-docker-vault-logo

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 […]

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 […]

nodejs-vscode-logo

In this post I wanted to go through how do we create a Nodejs application with vscode. The application is yet another weather node app, it is an easy example and loosely based on this project (https://codeburst.io/build-a-weather-website-in-30-minutes-with-node-js-express-openweather-a317f904897b), the difference is that we will build upon it to a series of how do we store secrets […]

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

Using Grunt JavaScript Minification We will continue from our last blog post on Grunt: using less and css minification to JavaScript minification using a plugin called Uglify. JSHint To begin we will use a linting tool called jshint, to help us in taming our JavaScript with some static code analysis to flags suspicious usage. We […]

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 […]

UA-4524639-2