How ahmedadel7776/egyptian-footballers works
This is an Expo football-news app for following Egyptian players abroad, alongside a separate Express authentication backend. The main user flow selects a player, fetches and filters news, and opens stories; users can save stories locally and browse updates, saved news, and profile screens. The backend exposes registration, login, and authenticated user lookup backed by PostgreSQL. The README describes an Expo starter rather than product behavior. The shown sources do not establish that the app connects to this backend, so that relationship is omitted.
Main entry points: Homescreen.tsx Home feed · BottomNavigation.tsx Tab navigation · Notifications.tsx Player updates · NewsCard.tsx News card
Components 20
News app
- Home feed
app/screens/Homescreen.tsx - All news
app/AllNews.tsx - Saved news
app/Favourite.tsx - Player updates
app/Notifications.tsx - Profile
app/Profile.tsx
UI components
- Tab navigation
app/components/BottomNavigation.tsx - Player categories
app/components/Categories.tsx - Featured stories
app/components/FeaturedCard.tsx - Feed header
app/components/Header.tsx - News card
app/components/NewsCard.tsx - Search input
app/components/SearchBar.tsx - Section title
app/components/SectionTitle.jsx
Authentication backend
- HTTP server
my-app-backend/src/server.js - Auth routes
my-app-backend/src/routes/auth.js - Token guard
my-app-backend/src/middleware/auth.js - Database pool
my-app-backend/src/db.js
Persistence
- Device storage
Other components
- Reader
- NewsAPI
- PostgreSQL
Connections 26
- Home feed → NewsAPI: fetches news
app/screens/Homescreen.tsx - Home feed → Device storage: loads and saves favorites
app/screens/Homescreen.tsx - Home feed → Player categories: renders
app/screens/Homescreen.tsx - Home feed → Featured stories: renders
app/screens/Homescreen.tsx - Home feed → Feed header: renders
app/screens/Homescreen.tsx - Home feed → News card: renders
app/screens/Homescreen.tsx - Home feed → Search input: renders
app/screens/Homescreen.tsx - Home feed → Section title: renders
app/screens/Homescreen.tsx - Featured stories → NewsAPI: fetches stories
app/components/FeaturedCard.tsx - Section title → All news: navigates to
- All news → News card: renders
app/AllNews.tsx - Saved news → Device storage: loads and updates
app/Favourite.tsx - Saved news → News card: renders
app/Favourite.tsx - Player updates → NewsAPI: fetches updates
app/Notifications.tsx - Player updates → Device storage: saves favorites
app/Notifications.tsx - Player updates → News card: renders
app/Notifications.tsx - Player updates → Tab navigation: renders
app/Notifications.tsx - Tab navigation → Home feed: routes to
app/components/BottomNavigation.tsx - Tab navigation → All news: routes to
app/components/BottomNavigation.tsx - Tab navigation → Saved news: routes to
app/components/BottomNavigation.tsx - Tab navigation → Profile: routes to
app/components/BottomNavigation.tsx - HTTP server → Auth routes: mounts routes
my-app-backend/src/server.js - Auth routes → Database pool: queries
my-app-backend/src/routes/auth.js - Auth routes → Token guard: guards profile lookup
my-app-backend/src/routes/auth.js - Database pool → PostgreSQL: connects to
- Reader → Home feed: browses