Your Harvest's Guardian Angel
RAKSHA is an AI-powered crop disease detection system that helps farmers identify pests and diseases in real-time by simply uploading a photo. Get instant diagnosis, severity assessment, and treatment recommendations.
raksha/
frontend/ # Next.js web application (TypeScript + TailwindCSS)
backend/ # Node.js/Express API server
docs/ # API documentation
README.md # This file
DEV_NOTES.md # Development notes and next steps
- Node.js 18+ with npm 11
- Modern web browser
-
Navigate to backend directory:
cd backend -
Install dependencies:
npm install
-
Create environment file:
copy .env.example .env
-
Start development server:
npm run dev
Backend will run on
http://localhost:3001
-
Navigate to frontend directory (in a new terminal):
cd frontend -
Install dependencies:
npm install
-
Create environment file:
copy .env.local.example .env.local
-
Start development server:
npm run dev
Frontend will run on
http://localhost:3000
- Ensure both backend and frontend are running
- Open
http://localhost:3000in your browser - Upload a crop image (leaf, fruit, or plant area)
- Wait for RAKSHA to analyze the image (~2-5 seconds)
- Review the diagnosis, severity, and treatment recommendations
GET http://localhost:3001/healthPOST http://localhost:3001/api/guardian/protect
Content-Type: multipart/form-data
Field: image (file)See docs/api.md for complete API documentation.
Frontend:
- Next.js 15 with App Router
- TypeScript
- TailwindCSS
- React
Backend:
- Node.js with Express
- TypeScript
- Multer (file uploads)
- CORS enabled
See DEV_NOTES.md for:
- Implementation tradeoffs
- Next steps for production
- AI integration roadmap
MIT License - Built for farmers, by developers who care.