Sharing Top Content from the Angular-sphere.

Weather app with Node webkit and Angularjs : part 1

  • In this tutorial will create weather app to understand how node webkit works.
  • So, dividing this tutorial in to two part, in which part 1 explains how to install and setup of node webkit and another one is to creating angular weather app and integrate with node webkit.
  • Now, after installing node webkit, we will create one sample html page to understand how things works.
  • So for launching our sample first open command prompt and go to location in to the folder which contains our index.html file.
  • and type following command in command prompt, – – You can see below app screen in your desktop, – – This concludes part-1.

Create weather desktop app using node webkit (NW.js) and Angularjs. using knowledge of HTML, CSS & Javascript.

NW.js basically known as node webkit. Using this framework we can create desktop application using HTML, CSS & Javascript.

In this tutorial will create weather app to understand how node webkit works.

So, dividing this tutorial in to two part, in which part 1 explains how to install and setup of node webkit and another one is to creating angular weather app and integrate with node webkit.

What we are going to build?

We are going to make weather app. It will allow you to browse weather information based on location you enter in the search box. and it will display information like place name, Temperature, weather info (i.e: cloudy, rainy etc.) and GEO location co-ordination. This would be ideal for your next college mini project.

For creating desktop app you need following things.

You can download Nodejs from following website : https://nodejs.org/en/download/

Installed node.js via tool called NVM (https://github.com/creationix/nvm). it allows you to different version of nodejs and it can be easily switchable.

After intallating Nodejs process, we are going to install NW.js using npm node module. So type the following command in command prompt. If you are using windows then make sure you have to run command prompt as administrator access. This will install all required modules globally.

Above command will install Node webkit. and -g flag install globally. After installing you can see following screen in command prompt.

Weather app with Node webkit and Angularjs : part 1