Journey-weather gives a basic route to drive between your destinations, and a weather forecast for each stage along the way at the approximate time you will be passing. This weather allows you to prepare for the worst.
Journey-weather is an easy to use: simply give the start and end point of your journey, and date-time you want to start. Then click on 'Let's go'. You will see the route you can travel along with the weather forecast for each stage at the time we expect you to be passing.
This project was inspired by my long trip back home to Virginia
from Texas
to be with my family during COVID-19 pandemic. During the journey, I faced multiple thunderstorms and weather obstacles that made my journey much more arduous.
Following are the two core functionalities
- Weather information (temperature, thunderstorm, clear sky and so on) along the journey route.
- Detailed directions along with expected date-time.
Note: Add your APIKeys for GOOGLE_MAPS_API_KEY & OPEN_WEATHER_MAP_API_KEY in the Constants.js file!
- You should have NodeJS insalled in your localhost machine Download NodeJS
- Open Terminal
- Navigate to Project Directory
- Hit
npm install
; This will install all required dependencies - After completion of above command, hit
npm start
- Wait for it to compile
- Open http://localhost:3000 to view it in the browser.
- Enjoy the journey-weather!
Please feel free to fork, improve, make pull requests or fill issues. I'll be glad to fix bugs you encountered.
This site is using free-tier of the Google Maps APIs, so it might not behave as "production-ready" or may not even work.