Screens:
- http://localhost:3000/current - today's forecast
- http://localhost:3000/week - 7days forecast
To start development server, use the following command:
npm i
npm start
Open http://localhost:3000 to view result in the browser.
To get weather data, a free API (https://openweathermap.org/) is used. Limits for free basis of usage are described here - https://openweathermap.org/full-price#current
A test application with React, Typescript that uses weather API to get data for current day and for 7days forecast. Note: to keep things simple the city is hardcoded (Moscow).