- Install Expo CLI globally:
npm install -g expo-cli - Create a new Expo project:
expo init goal-tracker-frontend- Select the blank TypeScript template
- Navigate to the project directory:
cd goal-tracker-frontend
- Set up simple folder structure
/src /screens - Create a basic App.tsx file that renders "Hello, World"
- Install Expo development dependencies:
expo install expo-status-bar - Install Base UI library (React Native Paper):
npm install react-native-paper
- Create a simple HomeScreen component in
/src/screens/HomeScreen.tsxthat displays "Hello, World" - Add basic styling to make the text centered and visually appealing
- Modify App.tsx to import and render the HomeScreen component
- Set up Paper provider for basic styling (optional but helpful for consistency)
- Run the app in development mode:
expo start - Test the web version: Press
win the Expo CLI - Test on iOS simulator (if available): Press
iin the Expo CLI - Verify "Hello, World" appears on screen with proper styling
- This setup includes only the bare minimum to get "Hello, World" running
- We've removed navigation setup as it's not needed for a single screen
- We've simplified the folder structure to include only what's needed now
- Additional dependencies and structure will be added as needed when implementing features