DE
Devorein/weyder-webapp
A basic weather web app, that utilizes the darksky and mapbox api to get weather data.
weyder webApp
A basic weather web app, that utilizes the darksky and mapbox api to get weather dat.
1. Basic Usage
Download the github repo
cd src/
node indexor
npm run devVisit http://localhost://3000 to use the web app
2. Obtaining json data
Visit http://localhost://3000/weather?address="location" to get a json response
{
"summary":"Humid and Partly Cloudy",
"place":"Austin, Texas, USA",
"temperature":"26.8°C",
"rainChance":"0.00%"
}3.Heroku app
The app is hosted at heroku in case you dont want all the hassle of downloading the repo and starting manually
Visit https://weyder-devorein.herokuapp.com/ to use the web app
TODO:
- Currently I'm using my access token for darksky and mapbox api, in the future I'll create a system to integrate your own access token
- Get customized data, instead of hard coded json response values
- Give user much more control over the darksky and mapbox api, by configuring the endpoints.