Skip to content

luminator-technology-group/WeatherApp

Repository files navigation

Weather App

Weather App

The Weather App is a dynamic application designed to provide real-time weather updates for bus passengers. It fetches weather information based on the bus's GPS coordinates or the name of the city, ensuring passengers are informed about current weather conditions along their route.

Features

  • Fetching Weather Data: The app automatically fetches weather information for bus stops based on geographical coordinates or city names.
  • Current Location: Users can track their current location, which is automatically updated in real-time.
  • Stop Button: Stop button functionality allows passengers to signal the bus driver that they want to stop at a particular bus stop.
  • Displaying Stop Information: The app displays information about nearby bus stops, including the time remaining until arrival and weather forecast.
  • Final Destination: Displays the name of the final destination along.
  • Current Time: Displays the actual time is displayed.

How to Run

  1. Clone the repository to your local environment.
  2. Install dependencies using npm install.
  3. Run the application using ng serve.
  4. Navigate to http://localhost:4200/ in your web browser.

How to Use

  • In the main view of the application, users will see information about nearby bus stops along with the weather forecast.
  • To stop the bus at a particular bus stop, click the "Stop" button.
  • If needed, users can track their current location and information about the final destination.

Stop Button Functionality

Stop Button