WeatherApp
- Android Hybrid
- Openweathermap api
- ReactJS
- Webpack
- Localforage
Clone the project:
$ git clone https://github.com/longnguyendr/react-webpack.git
Install the dependencies:
$ cd react-webpack
$ npm install
Add platform:
$ cordova platform add browser
or
$ cordova platform add android
Login and download the Api_key at Openweathermap
$ Create a file called "apiKey.json" in root folder and add the following object to the file:
$
{
"openWeatherKey": "Your API_KEY"
}
Build the package:
$ npm run build-dev (for development mode) or npm run build-prod (for production mode)
Run the App:
$ cordova run android
or
$ cordova run browser
Long Nguyen
