How ryanmferreira/polikt-expo works
Polikt is a mobile civic-education app. Users enter through registration or login, then browse news, guides, courses, search, and profile areas; news and guide detail screens load content by ID, with guides presented as sequential steps. Registration calls the user service, while news and guide screens call their respective services. The home screen loads news for browsing. The README also describes reporting civic irregularities, but no implementing screen or service is identifiable in the supplied tree, so that capability is shown as documented but unwired. Several screen and service implementations were not sampled; uncertain links are omitted.
Main entry points: (tabs)/_layout.tsx Tab navigation · api.ts API client · app/_layout.tsx Root navigation · home.tsx Home feed
Components 18
App navigation
- Root navigation
src/app/_layout.tsx - Tab navigation
src/app/(tabs)/_layout.tsx - Home feed
src/app/(tabs)/home.tsx - Search
src/app/(tabs)/search.tsx
Account access
- Profile
src/app/(tabs)/profile.tsx - Login
src/app/(auth)/index.tsx - Registration
src/app/(auth)/register.tsx - User service
src/services/users.ts
Learning content
- Courses
src/app/(tabs)/courses.tsx - News article
src/app/news/[id].tsx - Guide browsing
src/app/(tabs)/guides.tsx - Guide steps
src/app/guides/[id].tsx - Irregularity reporting
Content and API
- News service
src/services/news.ts - Guide service
src/services/guides.ts - API client
src/services/api.ts
Other components
- App user
- Polikt backend
Connections 21
- App user → Root navigation: opens app
- Root navigation → Login: routes
- Root navigation → Tab navigation: routes
- Login → Tab navigation: navigates
- App user → Registration: registers
- Registration → User service: registers user
- User service → API client: requests
- Tab navigation → Home feed: shows
- Tab navigation → Search: shows
- Tab navigation → Courses: shows
- Tab navigation → Profile: shows
- Home feed → News service: loads news
- Home feed → News article: opens article
- News article → News service: loads by ID
- Guide browsing → Guide service: loads guides
- Guide browsing → Guide steps: opens guide
- Guide steps → Guide service: loads guide steps
- News service → API client: requests content
- Guide service → API client: requests content
- API client → Polikt backend: fetches API
- App user → Irregularity reporting: reports issue