| by Gagandeep Singh | No comments

Getting Started with Grunt – configuration

What exactly is Grunt? Grunt is JavaScript task runner which helps you automate the tasks that you do while development. There are n number of tasks that you do on a repetitive basis during the development phase such as doing unit testing, joining of various files, minification, sass to css etc. So rather than doing […]

Read More
| by Gagandeep Singh | No comments

Connect your AngularJS application to Firebase

AngularJS by default provides a two way data binding between your view and controller. By connecting a real time database like Firebase you can extend the two way data binding to three way data binding. So if there is any changes in any one of the model, view or database, the updated content will be […]

Read More
| by Gagandeep Singh | No comments

Create a chessboard using JavaScript

In this short post we will see how to create a chessboard using JavaScript. First lets begin by creating an index.html file. Canvas tag not supported In our tag we have defined a canvas element with id=canvas and width and height equal to 280px and we are importing our script.js file which has the main […]

Read More
| by Gagandeep Singh | No comments

Deploy a node application on the Heroku server

Before we begin deploying our app on the Heroku server make sure that you have a registered Heroku account, if not then click here to register. NOTE: You must have node and git installed on your system before we can deploy our app. In the previous post we created a server.js file to display “hello […]

Read More
| by Gagandeep Singh | No comments

Create an HTTP Server in NodeJS

In our previous node example we simply printed “hello world” on our console using node command. In this post we will see how we can create an http server using nodejs and send a response from the server to the browser to print a text. Step 1: Let us create a server.js file on our […]

Read More