Ionic Weather App - The goal of this weather app is to demo different ionic component in a nice working app. Contributions are welcome for any good feature.
node
and npm
node -v
- should be >= 6.0.0
npm -v
- should be >= 3.0.0
Clone this repository
Install Ionic, cordova and node_modules
$ npm uninstall -g ionic cordova
$ npm install -g ionic cordova
$ npm install
$ npm install --only=dev
Get weather API key from DarkSky
src/providers/constants.ts
export const FORECAST_CONFIG = {
API_ENDPOINT: 'https://api.darksky.net/forecast/',
API_KEY: '9bb59ff3063ac4930fc96890570b0c6f'
};
Get google API key from Google Developers Console
src/index.html
<script src="https://maps.googleapis.com/maps/api/js?v=3&key=AIzaSyAZL0jdvdtBV_DmzLZ8yW53GHnhlRrbIAY&libraries=places">
</script>
# iOS
ionic serve --platform ios
# Android
ionic serve --platform android
# All Platforms(iOS, Android and Windows)
ionic serve --lab
$ ionic cordova platform add android
$ ionic cordova build android --prod
$ ionic cordova run android --prod
$ ionic cordova platform add ios
$ ionic cordova build ios --prod
Run using XCode
Run post_install script
$ ./post_install.sh
Phone
Tablet
Contributions are welcome!
See features planned for future to get contributing ideas.
ionic-mosum is available under the MIT license. See the LICENSE file for more info.