How somprakash04/daily_tech_desk works
Daily Tech Desk is a Flutter technology-news app. Users enter the app, browse and filter a technology feed, open articles, and use the daily digest or locally saved items; themes and account/onboarding flows support that experience. The README documents an ASP.NET Core API backed by PostgreSQL/Supabase and NewsAPI, but no backend source appears in this tree, so those components and links reflect README documentation rather than inspected implementation. The Flutter source is also unsampled, so internal connections are limited to documented behavior and evident subsystem responsibilities.
Main entry points: home_page.dart News feed · article_details_page.dart Article details · api_client.dart API client · main.dart App entry
Components 22
Flutter app
- App entry
lib/main.dart - App routing
lib/core/routes/app_router.dart - App configuration
lib/core/config/app_config.dart - Theme state
lib/core/theme/theme_cubit.dart - API client
lib/core/network/api_client.dart - Local preferences
News experience
- News feed
lib/features/home/presentation/pages/home_page.dart - Feed state
lib/features/home/presentation/cubit/news_cubit.dart - Category filters
lib/features/home/presentation/cubit/feed_filter_cubit.dart - News repository
lib/features/home/data/repositories/api_news_repository.dart - Article details
lib/features/home/presentation/pages/article_details_page.dart - Daily digest
lib/features/menu/presentation/pages/daily_digest_page.dart - Saved items
lib/features/menu/presentation/cubit/saved_articles_cubit.dart - Share and links
lib/features/home/presentation/pages/article_details_page.dart
User setup
- Interest selection
lib/features/onboarding/presentation/pages/interest_selection_page.dart - Authentication
lib/features/authentication/presentation/pages/login_page.dart - Session state
lib/features/authentication/presentation/cubit/auth_session_cubit.dart
API services
- ASP.NET API
- PostgreSQL
- NewsAPI
Other components
- Reader
- External browser
Connections 21
- Reader → App entry: opens
- App entry → App routing: starts routes
- App routing → News feed: routes to
- News feed → Feed state: requests feed
- News feed → Category filters: selects category
- Feed state → News repository: loads articles
- News repository → API client: requests data
- API client → ASP.NET API: HTTPS requests
- ASP.NET API → PostgreSQL: reads articles
- ASP.NET API → NewsAPI: fetches news
- Reader → Article details: opens article
- Reader → Daily digest: views digest
- Reader → Saved items: manages bookmarks
- Saved items → Local preferences: persists locally
- Article details → External browser: opens link
- Article details → Reader: shares article
- Reader → Interest selection: sets interests
- Reader → Authentication: signs in
- Authentication → Session state: updates session
- Reader → Theme state: changes theme
- App configuration → API client: configures endpoint