weather-app-midu Svelte Themes

Weather App Midu

Weather app developed with svelte-kit, tailwindcss and something more, made to win midudev hackaton

Miduweather

Stolen resources

-> Icons: https://ui8.net/hosein_bagheri/products/3d-weather-icons40 -> Inspiration: https://dribbble.com/shots/16361858-Weather-Forecast-Mobile-application

Utils this time

-> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat

What makes me cry during this development?

1.- Run svelte-kit with ssl certificate (vite) 1.1 -> npm run dev -- --https 2.- Obtaining geolocation by asking permissions 2.1 -> Permissions API doesn't work with safari (cause mobile first) -> Promise ::resolve -> should return user location -> Promise ::reject -> Lake Hilier by default 2.2 -> How svelte is saving state? -> stores.js -> What is a writable? -> suscribe, set, update and magic $prop

What was really impressive

1.- Deploy app to Vercel :0 (First i was trying with Railway but there's no "adapter" to it)

Top categories

Loading Svelte Themes