Skip to content

Rahul5430/WorkTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverage Checks Android Build iOS Build

WorkTrack

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

🚀 Getting Started

  • Start Metro:
npm start
  • Android:
npm run android
  • iOS (install CocoaPods once, then run):
cd ios && pod install && cd ..
npm run ios

🧪 Testing

  • Full suite with coverage:
npm run test:coverage
  • Coverage threshold enforced at 95% via Jest coverageThreshold.

⚙️ CI/CD

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

📥 Download Android debug APK

📦 Folder Structure

  • __tests__/ – unit and integration tests
  • src/ – application code
    • db/ – local database (WatermelonDB)
    • repositories/ – data access layers (Firebase/Watermelon)
    • use-cases/ – business logic
    • services/ – external services (Firebase, toast queue)
    • utils/ – helpers and validation

📖 Learn More

Codecov Setup

  • CI uploads coverage/lcov.info via codecov/codecov-action@v4.
  • Add CODECOV_TOKEN in GitHub repo Settings → Secrets and variables → Actions.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages