SPA for weather using the openweathermap api