How phillipc0/pp-cga-fe-public works
Project Type & Purpose
• This is a single‐page/mobile front-end application built with React Native (Expo) and TypeScript.
• It provides a client for multiplayer card games (“Lügen” and “Mau”) with authentication, game lobbies, rule views, and real-time interactions via a backend API.
File Structure Analysis
• Top level:
• app.json, package.json, tsconfig.json – project/config metadata
• .github, scripts, run-config – CI, build & run scripts
• app/ – route-based pages/screens under Expo’s new App Router
• components/ – reusable UI components (cards, timers, leaderboards)
• hooks/ – React context & custom hooks (authContext, useStorageState)
• utilities/ – data-access layer (deck shuffling, HTTP requests)
• assets/ – fonts & images
README Insights
• Defines the tech stack (Node.js, Expo SDK, Java JDK) and local setup (Android emulator/Expo Go).
• Describes IDE run configurations for development and EAS for production builds.
Detailed Coverage
• Every directory/module appears at the appropriate layer.
• Call out the App Router (app/_layout.tsx) as the navigation entrypoint.
• AuthContext wrapper around your screen tree.
• How assets flow into the UI via ThemedComponents or Style constants.
• Run-configs & shell scripts that automate npm run android, expo-go, and eas build.