Weather forecast uses several open source projects to work properly:
- Node.js - JavaScript runtime built on Chrome's V8 JavaScript engine
- Webix - Cross platform and cross browser UI library
Weather forecast uses several APIs to work properly:
- YahooWeather - Yahoo weather API to receive actual data
- GoogleMaps - Google maps service to point the chosen city
- Highcharts - Highcharts to create charts
- Node.js v4.4+
- Download and extract the latest version of Weather forecast
- Install the dependencies and devDependencies:
$ cd weather_forecast
$ npm install- Download the latest standard version of Webix.
- Extract "codebase" folder from downloaded Webix archive to the root folder of your project
- Run Node.js server:
$ npm startAfter that your web application is available on:
http://localhost:4488- To create your bundle.js (if source code is modified) run:
$ gulp bundle- To watch your source code changing and restarting server in development run:
$ npm run nodemon
$ gulp watchYou can get City woeid here: GetWoeid
- To add City to Cities Id list watch:
weather_forecast/lib/cityId/cities.js- To add City to sidemenu watch:
weather_forecast/js/cities.jsGNU GPLV3
