/Weather-App

This is a classic Weather application created on Node.js, Express, using API's such as MapBox and DarkSky. This project enabled me to enhance my API working skills and get a better grip on client side requests

Primary LanguageJavaScript

Weather-App

This is a weather telling application that I made using MapBox API and DarkSky API. The application has weather.js which works on clientside and when user enters a date and the location and submits a fetch request is submitted to the app.js /weather route which parses the address and time and uses geocode.js which uses the mapbox api to get the latitude and longitude of the submitted location and the exact place. this data is sent back to app.js which then uses forecast.js to generate the forecast using the DarkSky API which uses the latitude and longitude to generate the weather and sends it back to app.js which then sends this data back to the clientside which then displays the data to the user accordingly. To run this application, you can download the files and go into the app.js directory and run "npm i" and "node app.js" in the directory to run the server on localhost:3000.

preview: image