Deep DivesApp
Development
Local development guide for the RawStack App component.
Prerequisites
iOS
- macOS with Xcode installed
- CocoaPods:
brew install cocoapods - Ruby bundler:
gem install bundler
Android
- Android Studio with Android SDK
- An emulator or physical device connected via ADB
Setup
cd apps/app
npm install
cp .env.example .enviOS — first time only:
bundle install
bundle exec pod install --project-directory=iosRunning
Start the Metro bundler:
npm startThen in a separate terminal:
# iOS
npm run ios
# Android
npm run androidProject structure
apps/app/
├── src/
│ ├── navigation/ # React Navigation setup
│ ├── screens/ # Screen components
│ ├── components/ # Shared UI components
│ ├── hooks/ # Custom hooks (API, storage, etc.)
│ ├── lib/ # Utilities, API client config
│ └── types/ # TypeScript type definitions
├── ios/ # Native iOS project
├── android/ # Native Android project
├── .env.example
└── package.jsonUseful scripts
| Script | Description |
|---|---|
npm start | Start Metro bundler |
npm run ios | Build and run on iOS Simulator |
npm run android | Build and run on Android Emulator |
npm run test | Jest unit tests |
npm run test:watch | Jest in watch mode |
npm run lint | ESLint |