A simple Weather app that displays weather information from the Accuweather API. By default, the Weather web part will use the your location and you can search by city name and also display weather information for them.
- Search by name City.
- Able Disable Search.
- Switch temperature units
- Sign up over at developer.accuweather.com to get an API key.
- clone this repo
- Move to Solution folder
- $ npm i
- Create a file at the src\webparts\weatherWebPart\keys.ts with the following contents:
const config = {
weather_key: "Your Api Key Here",
};
export default config;
- $ gulp serve