Inspiration
This global hack week event by mlh on API's inspired me to create a project using an API
What it does
It fetches your IP address and tells the exact weather at your location , Also Disclosing Your Location with exact Humidity and Temp. It provides much more than that in the console including AQI of your region and the speed of the wind with direction passing through your city.
How we built it
We Built it Using React JS Library integrated with VITE, and a free weather API known as weatherapi.com
Challenges we ran into
The API I used was working on thunder Client (extension of VS code) and on the API's backend but it was giving an error with status code 0, due to some proxy server issue.
Accomplishments that we're proud of
I managed to fix the proxy server issue in time by creating my new own proxy server using a library called https and adding it in the file vite.config.js. I am proud that I joined this challenge
What we learned
I learned Many things About API and Proxy Server also got to know about the error status codes of web servers. It was an overall development as a student and as a programming enthusiast
What's next for WeatherTeller
The API worked and I am now focusing on the frontend to make the website look appealing.
Built With
- css
- html
- https
- javascript
- react
- vite
Log in or sign up for Devpost to join the conversation.