How vaishnavi791/agritech works
AgriTech is an agriculture decision-support platform: users access crop recommendations, disease detection, cost estimates, price forecasts, and chatbot assistance through a web interface, with authentication also represented in the tree. The repository separates frontend pages and API clients from backend routes and services, and has corresponding ML or calculation modules. The excerpts are empty and the README only describes the platform broadly, so feature-level connections are shown as unverified rather than asserted as observed calls.
Main entry points: app/services Feature services · src/services API clients · AppRoutes.jsx App navigation · pages Decision pages
Components 14
Web application
- App navigation
frontend/src/routes/AppRoutes.jsx - Decision pages
frontend/src/pages - Chat interface
frontend/src/components/Chatbot/Chatbot.jsx - API clients
frontend/src/services
Backend API
- Feature routes
backend/app/routes - Auth route
backend/app/routes/auth.py
Backend domain
- Feature services
backend/app/services - Authentication
backend/app/services/auth_service.py - Application database
backend/app/core/database.py
Models and calculations
- Crop recommendation
ml/crop/predict.py - Disease detection
ml/disease/predict.py - Cost estimation
ml/cost/calculator.py - Price forecasting
ml/price/predict.py
Other components
- Farmer
Connections 14
- Farmer → App navigation: uses
- App navigation → Decision pages: routes to
- Farmer → Chat interface: asks
- Decision pages → API clients: requests
- Chat interface → API clients: requests
- API clients → Feature routes: calls
- API clients → Auth route: authenticates
- Feature routes → Feature services: dispatches
- Auth route → Authentication: delegates
- Feature services → Application database: persists
- Feature services → Crop recommendation: uses
- Feature services → Disease detection: uses
- Feature services → Cost estimation: uses
- Feature services → Price forecasting: uses