This is a simple Angular application that fetches weather forecast data from an API and visualizes it using Chart.js.
- Display weather forecast for District of Columbia and Kansas.
- Visualize temperature data using a line chart.
- Clickable options to select weather forecast locations.
- Node.js and npm should be installed on your system.
- Angular CLI should be installed globally.
- Clone the repository:
git clone <repository_url>
cd weather-app
- Install dependencies:
npm install
- Run the Angular development server:
ng serve
-
Navigate to
http://localhost:4200/
in your browser. -
Click on the weather forecast options to view the corresponding forecast data.
This application fetches weather forecast data from the following API endpoints:
- District of Columbia: https://api.weather.gov/gridpoints/LWX/31,80/forecast
- Kansas: https://api.weather.gov/gridpoints/TOP/31,80/forecast
- Angular
- Chart.js
- HTML/CSS
- TypeScript
- Eslint
- Prettier
Contributions are welcome! Feel free to submit a pull request or open an issue.
This project is licensed under the MIT License - see the LICENSE file for details.