How ezekiel-serva/global-weather-dashboard works
This is a small Expo weather-dashboard app scaffold. The visible workflow is to browse placeholder city weather, open a city detail screen, and save or clear favorite cities; settings currently hold only local toggle state. Weather lookup and persistence are not implemented in the sampled code. The map reflects the supplied excerpts and source index; some screens and layouts are listed but their internal behavior was not shown.
Main entry points: _layout.jsx Root layout · dashboard.jsx Dashboard · favorites.jsx Favorites screen · CityCard.jsx City card
Components 11
App navigation
- Root layout
src/app/_layout.jsx - Tab layout
src/app/(tabs)/_layout.jsx - Home screen
src/app/(tabs)/index.jsx
Weather browsing
- Dashboard
src/app/(tabs)/dashboard.jsx - Placeholder cities
src/types/weather.js - City card
src/components/CityCard.jsx - City details
src/app/city/[id].jsx
Favorites
- Favorites screen
src/app/(tabs)/favorites.jsx - Favorites state
src/context/FavoritesContext.jsx
Preferences
- Settings screen
src/app/(tabs)/settings.jsx
Other components
- App user
Connections 11
- App user → Root layout: opens app
- Root layout → Tab layout: routes to
src/app/_layout.jsx - Root layout → City details: routes to
src/app/_layout.jsx - Root layout → Favorites state: provides state
src/app/_layout.jsx - Dashboard → Placeholder cities: loads placeholders
src/app/(tabs)/dashboard.jsx - Dashboard → City card: renders
src/app/(tabs)/dashboard.jsx - Dashboard → City details: navigates to
src/app/(tabs)/dashboard.jsx - City card → Favorites state: reads and toggles
src/components/CityCard.jsx - Favorites screen → Favorites state: reads and clears
src/app/(tabs)/favorites.jsx - Favorites screen → City card: renders
src/app/(tabs)/favorites.jsx - Favorites screen → City details: navigates to
src/app/(tabs)/favorites.jsx