- City detection using an API that returns the city based on the IP.
- Persistence of the user preferences between different sessions using the localStorage.
- Error handling when the api fails or the city doesn't exist.
- Animation in the settings modal
- It uses Vuex to store the user preferences. When I started coding this app the user preferences values were used in different components. But after some refactor in the WeatherInfo.vue component (I wanted to make it more versatile to include new weather values without having to modify it) Vuex doesn't seem to be as necessary as before... Anyway, it helped me to understand how Vuex works :)
- Sass as the style preprocessor.
npm install
npm run serve
npm run build
npm run test
npm run lint