FarmXchain is a full-stack agricultural supply chain platform designed to improve transparency, traceability, and trust in the farm-to-consumer ecosystem.
The platform enables farmers, distributors, retailers, and customers to track agricultural products throughout the supply chain while ensuring secure authentication and reliable product verification.
The system integrates AI-based product quality analysis, secure authentication, and role-based dashboards to provide a modern digital infrastructure for agricultural supply chain management.
This project was developed as part of the Infosys Springboard Internship 6.0 Program.
The internship focused on building real-world applications using modern technologies including:
- Full-stack web development
- Secure authentication systems
- AI integration
- RESTful API development
- Real-world problem solving in agriculture supply chains
- Java
- Spring Boot
- Spring Security
- JWT Authentication
- REST APIs
- Maven
- React.js
- JavaScript
- Tailwind CSS
- Axios
- MySQL
- Google Gemini API
- Cloudinary (Image storage)
- Git & GitHub (Version control)
β Role-based dashboards for different users β Farm and product registration β Supply chain product tracking β AI-powered agricultural quality analysis β Secure JWT authentication β QR-code based product traceability β Transportation tracking between supply chain stages β Responsive modern UI
The system supports multiple stakeholders in the agricultural ecosystem:
Farmer
- Register farm details
- Add agricultural products
- Upload product images
- Manage product information
Distributor
- Manage product transportation
- Track shipments between locations
Retailer
- Manage product distribution and availability
Customer
- Scan QR codes
- View product origin and traceability
Admin
- Monitor system activities
- Manage platform users
FarmXchain integrates an AI-based quality analysis system.
Product images can be analyzed using AI services to evaluate agricultural product quality and provide insights about crop conditions.
This helps ensure better quality assurance in the agricultural supply chain.
The backend follows a layered architecture:
User
β
React Frontend
β
Spring Boot Backend
β
Service Layer
β
Repository Layer
β
MySQL Database
β
AI Service (Gemini API)
This architecture ensures:
- scalability
- maintainable code structure
- clear separation of responsibilities
FarmXchain
β
βββ backend
β βββ controller
β βββ service
β βββ repository
β βββ model
β βββ security
β βββ config
β
βββ src
β βββ components
β βββ pages
β βββ services
β βββ context
β βββ styles
β
βββ public
β βββ images
β βββ assets
β
βββ screenshots
β
βββ package.json
βββ pom.xml
βββ README.md
Secure login system with JWT authentication and role-based access control.
Interactive dashboard providing analytics and insights related to agricultural product data and system activity.
Module used to manage product transportation between origin and destination while visualizing routes.
Consumers can scan QR codes to track products from farm to consumer, ensuring transparency in the supply chain.
Farmers can register farms, add products, and include certification and product details.
git clone https://github.com/jathinvasukula/FarmXchain.git
cd backend
mvn spring-boot:run
npm install
npm start
- User Authentication
- Product Management
- Farm Registration
- Transportation Tracking
- AI Quality Analysis
- Role-Based Dashboards
- Supply Chain Monitoring
The system implements modern security mechanisms:
- Spring Security
- JWT Token Authentication
- Role Based Access Control
These mechanisms ensure secure communication between the frontend and backend services.
FarmXchain aims to address several major challenges in agricultural supply chains:
- Lack of transparency in product origin
- Difficulty in tracking supply chain stages
- Quality verification challenges
- Limited trust between farmers and consumers
The platform introduces a digital traceability network for agricultural products.
β’ AI-powered agricultural quality analysis
β’ End-to-end farm-to-consumer product traceability
β’ Role-based dashboards (Farmer, Distributor, Retailer, Customer, Admin)
β’ Secure authentication using JWT
β’ Full-stack architecture using React + Spring Boot
Jathin VJ
Automation Testing | Full Stack Development | Java | Spring Boot | React
This project was developed for educational and internship purposes as part of the Infosys Springboard Internship 6.0 Program.




