Your task is to build one page web application. It will allow user to see length (in days) of continuous periods of sunshine in a given city:
- Historical longest period of sunny days in given city
- Longest period in current month
- Length of current period of sunshine
Length of sunny days period is a number of consecutive days in a given city when the sun is shining (no overcast clouds, no precipitation).
User can select city from dropdown list and frontend should request for data from backend without reloading the page (e.g. REST or smth. similar). Request should be processed in less then 30ms (our service will be very popular!).