A React Native application for camera-based heart rate and face wellness scanning using PPG and rPPG technology.
- Finger PPG Scan: Place finger over camera for heart rate monitoring
- Face Vital Scan: Non-contact facial wellness assessment
- Real-time Processing: On-device signal extraction
- Wellness Insights: Heart rate, HRV, stress, and fatigue metrics
- React Native with Expo SDK 51+
- Camera: expo-camera for video capture
- Navigation: React Navigation 6
- HTTP Client: Axios for API communication
src/
├── components/ # Reusable UI components
├── screens/ # App screens
│ ├── HomeScreen.js # Landing page
│ ├── CameraScreen.js # Camera interface
│ └── ResultsScreen.js # Results display
├── services/ # API communication
│ └── api.js
└── utils/ # Helper functions
-
Prerequisites
- Node.js 18+
- Expo CLI:
npm install -g @expo/cli - iOS Simulator or Android emulator
-
Install Dependencies
npm install
-
Start Development Server
npm start
-
Run on Device/Emulator
- iOS:
npm run ios - Android:
npm run android - Web:
npm run web
- iOS:
Update the API base URL in src/services/api.js to point to your backend:
const API_BASE_URL = __DEV__
? 'http://localhost:3000/api/v1'
: 'https://your-production-api.com/api/v1';The app communicates with two backend services:
- NestJS API Gateway - Authentication, validation, and routing
- FastAPI Processor - Signal processing and analysis
See API contracts in the main project README.
# Build for iOS
expo build:ios
# Build for Android
expo build:android
# Build for Web
expo build:webnpm test- Follow the coding standards
- Write tests for new features
- Update documentation as needed
MIT - See main project README for details.