Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devorein/weyder-webapp
A basic weather web app, that utilizes the darksky and mapbox api to get weather data.
https://github.com/devorein/weyder-webapp
darksky-api mapbox weather weather-api weather-app
Last synced: 23 days ago
JSON representation
A basic weather web app, that utilizes the darksky and mapbox api to get weather data.
- Host: GitHub
- URL: https://github.com/devorein/weyder-webapp
- Owner: Devorein
- Created: 2019-08-02T13:35:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T06:42:07.000Z (almost 2 years ago)
- Last Synced: 2024-11-18T02:51:35.316Z (about 2 months ago)
- Topics: darksky-api, mapbox, weather, weather-api, weather-app
- Language: JavaScript
- Homepage: https://weyder-devorein.herokuapp.com/
- Size: 2.8 MB
- Stars: 7
- Watchers: 0
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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```cmd
cd src/
node index
```
or```cmd
npm run dev
```Visit `http://localhost://3000` to use the web app
---
### 2. Obtaining json data
Visit `http://localhost://3000/weather?address="location"` to get a json response```json
{
"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 manuallyVisit `https://weyder-devorein.herokuapp.com/` to use the web app
**TODO**:
--
1. 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
2. Get customized data, instead of hard coded json response values
3. Give user much more control over the darksky and mapbox api, by configuring the endpoints.