- Overview
- Features
- Technologies Used
- Installation
- Usage
- API Sources
- Future Improvements
- Contributing
- License
The SA Weather App is a dynamic web application that provides real-time weather information for cities across South Africa. Users can search for a city, view current weather conditions, and explore additional weather layers such as precipitation and temperature. The app is designed to be user-friendly and informative, catering to both casual users and weather enthusiasts.
- Real-time Weather Data: Get instant updates for any city in South Africa.
- Interactive Map: Explore different locations with a user-friendly map interface.
- Layer Options: Visualise various weather conditions by adding layers like precipitation and temperature.
- Cached Data: Fast loading times with local storage support for previously searched cities.
- HTML: Structure of the web application.
- CSS: Styling and layout.
- JavaScript: Interactive functionality and API calls.
- Leaflet.js: For mapping and geospatial visualisations.
- APIs:
- OpenWeather
- City API
- Weather API
To run the SA Weather App locally, follow these steps:
- Clone the repository:
- Navigate to the project directory:
- cd sa-weather-app
- Open the index.html file in your web browser.
- Enter a city name in the search bar.
- Click the search button or press Enter.
- The map will update to display the current weather conditions for the selected city.
- Use the layer options to visualise additional weather data such as precipitation.
- Click the theme button to change the theme.
Data provided by:
- Enhance mobile responsiveness for a better user experience.
- Implement user authentication for personalised weather data.
Contributions are welcome! If you'd like to contribute, please fork the repository and create a pull request. Make sure to follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature/YourFeature).
- Make your changes and commit them (git commit -m 'Add your feature').
- Push to the branch (git push origin feature/YourFeature).
- Open a pull request.