This is a React Native CLI application for the AI-Powered Farmer Decision Support Platform.
MadhavAI/
├── android/ # Android native code
├── ios/ # iOS native code
├── src/ # Source code
│ ├── components/ # Reusable UI components
│ ├── screens/ # Screen-level components
│ ├── services/ # Business logic and API services
│ ├── hooks/ # Custom React hooks
│ ├── store/ # State management (Zustand/Redux)
│ ├── config/ # Configuration files
│ ├── types/ # TypeScript type definitions
│ └── utils/ # Utility functions
├── __tests__/ # Test files
├── .kiro/ # Kiro spec files
│ └── specs/
│ └── farmer-decision-support-platform/
│ ├── requirements.md
│ ├── design.md
│ └── tasks.md
├── App.tsx # Root component
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── jest.setup.js # Jest configuration
├── .eslintrc.js # ESLint configuration
└── .prettierrc.js # Prettier configuration
- Framework: React Native 0.84.1
- Language: TypeScript 5.8.3
- State Management: TBD (Zustand or Redux Toolkit)
- Navigation: TBD (React Navigation)
- Testing: Jest + fast-check (property-based testing)
- Code Quality: ESLint + Prettier
- Backend: AWS Lambda (Node.js/TypeScript)
- Database: DynamoDB (cloud) + SQLite (local)
- AI/ML: AWS Bedrock
npm start- Start Metro bundlernpm run android- Run on Androidnpm run ios- Run on iOSnpm test- Run testsnpm run test:watch- Run tests in watch modenpm run test:coverage- Run tests with coveragenpm run lint- Lint codenpm run lint:fix- Lint and fix codenpm run format- Format code with Prettiernpm run type-check- Check TypeScript types
- Offline-First: Core functionality works without internet
- Modular: Clean separation of concerns
- Type-Safe: Strict TypeScript configuration
- Testable: Property-based testing for correctness
- Scalable: Designed for 10M+ users
- Accessible: Voice interface and regional language support
- Install dependencies:
npm install - Start Metro:
npm start - Run on Android:
npm run android - Run tests:
npm test
Follow the implementation tasks defined in .kiro/specs/farmer-decision-support-platform/tasks.md