Minimalistic React Native app for tracking work-from-office/work-from-home attendance.
Features:
- Mark days as WFO/WFH
- Add holidays in advance
- Monthly trend charts
- Offline-first, syncs when online
- Role-based sharing with family
- Playground mode for predictions
- Start Metro:
npm start- Android:
npm run android- iOS (install CocoaPods once, then run):
cd ios && pod install && cd ..
npm run ios- Full suite with coverage:
npm run test:coverage- Coverage threshold enforced at 95% via Jest
coverageThreshold.
Workflows on pushes to main:
- Checks: ESLint, TypeScript typecheck, tests with coverage, Codecov, security audit
- Android Build: builds debug APK and uploads artifact and Release asset
- iOS Build: builds simulator app and uploads artifact
- Latest Release asset (stable link):
- Or visit Releases page: https://github.com/Rahul5430/WorkTrack/releases
__tests__/– unit and integration testssrc/– application codedb/– local database (WatermelonDB)repositories/– data access layers (Firebase/Watermelon)use-cases/– business logicservices/– external services (Firebase, toast queue)utils/– helpers and validation
- React Native docs: https://reactnative.dev
- Firebase Emulator: https://firebase.google.com/docs/emulator-suite
- CI uploads
coverage/lcov.infoviacodecov/codecov-action@v4. - Add
CODECOV_TOKENin GitHub repo Settings → Secrets and variables → Actions.