A basic weather web app, that utilizes the darksky and mapbox api to get weather dat.
Download the github repo
cd src/
node index
or
npm run dev
Visit http://localhost://3000
to use the web app
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%"
}
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
- 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.