A React-based, responsive, Single Page Application (SPA) that utilizes the AccuWeather API to display current conditions data for a specified city. The application had demo data built-in so that the app can be tested without an API key; to use the search feature for real weather data, you can supply an AccuWeather API key on the Settings page; to learn more about the AccuWeather API, visit https://developer.accuweather.com/
live demo here: https://icy-plant-04bbb950f.5.azurestaticapps.net/
- Display past precipitation data and other data within individual React components.
- Interactive charts and graphs.
- Responsive design for mobile and desktop.
- Easy to use and navigate; Bootstrap is used for the User Interface (UI).
To get started with the project, follow these steps:
-
Clone the repository:
git clone https://github.com/ptr-cs/react-weather-app.git cd weather-app
-
Install dependencies:
npm install
To run the application locally, use the following command:
npm run dev
To run the tests for the application, use the following command:
npm test
This will execute all the unit tests using Jest and display the results in the terminal.
This software has been tested against the Department of Homeland Security's (DHS) Trusted Tester process; the results of this process have been compiled using the DHS Accessibility Conformance Reporting Tool (ACRT) and uploaded in the "Section508" folder.
For more information on the Trusted Tester process and ACRT, visit the following links:
- https://github.com/Section508Coordinators/TrustedTester5.1
- https://github.com/Section508Coordinators/ACRT
This project is licensed under the MIT License. See the LICENSE file for more details.