https://github.com/cdimascio/ballparks
Source code for developerWorks article: Create a baseball-themed app powered by Weather Company Data for IBM Bluemix and DBpedia
https://github.com/cdimascio/ballparks
bluemix dbpedia ibm-cloud reactjs tutorial weather-api weather-data weather-service
Last synced: 4 months ago
JSON representation
Source code for developerWorks article: Create a baseball-themed app powered by Weather Company Data for IBM Bluemix and DBpedia
- Host: GitHub
- URL: https://github.com/cdimascio/ballparks
- Owner: cdimascio
- License: mit
- Created: 2016-04-02T14:53:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T02:25:41.000Z (over 6 years ago)
- Last Synced: 2025-03-29T09:44:17.577Z (7 months ago)
- Topics: bluemix, dbpedia, ibm-cloud, reactjs, tutorial, weather-api, weather-data, weather-service
- Language: JavaScript
- Homepage: https://www.ibm.com/developerworks/cloud/library/cl-bluemix-baseball-app-insights-for-weather-dbpedia-trs/index.html
- Size: 97.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ballparks
Ballparks provides up to date weather information for all Major League Ballparks. It utilizes DBpedia, IBM Weather Company's Weather Insights, and Bluemix.
Try the [app](http://ballparks.mybluemix.net/)
### Prerequisites
- Create an IBM Insight's for Weather service on Bluemix### Build
- `npm install`
- `node_modules/.bin/webpack`### Run
To run locally:
- Copy theservice url from your IBM Insights for Weather service instance
e.g. https://[user]:[pass]@twcservice.mybluemix.net`
- `export WEATHER_API_ROOT=https://[user]:[pass]@twcservice.mybluemix.net`
- `node index`
- Go to http://localhost:3000### Deploy to Bluemix
- Create an IBM Insight's for Weather service on Bluemix
- From the project root, run `cf push [user]-ballparks`
- Go to http://[user]-ballparks.mybluemix.net