Farmiq is a farmer-first digital platform for Maharashtra farmers, designed to provide trustworthy access to government schemes, crop knowledge, and officer contacts without requiring login.
- No Login Required for Farmers: Instant access to all public information.
- Scheme Finder: Browse Maharashtra State & Central schemes.
- Crop Knowledge Hub: Sowing-to-harvest guide.
- Officer Directory: Search Agri Officers by District/Taluka.
- Admin Dashboard: Content verification and management (Protected).
- Auto-Updates: Mock cron job to fetch official updates.
- Frontend: React, Tailwind CSS, Vite
- Backend: Node.js, Express, MongoDB
- Database: MongoDB (Local)
- Node.js (v18+)
- MongoDB (Running on port 27017)
-
Clone the repository (or unzip).
-
Install dependencies for both client and server:
# Server cd server npm install # Client cd client npm install
-
Configure Environment:
- Ensure
server/.envexists withMONGO_URIandJWT_SECRET.
- Ensure
Start Backend:
cd server
npm run dev
# Server runs on http://localhost:5000Start Frontend:
cd client
npm run dev
# App runs on http://localhost:5173- Go to
/admin/login - Register a new admin via Postman/API first (
POST /api/v1/auth/register) OR use the manual registration endpoint if enabled (currently register route is verified). - Default seed user (if you run seed script):
admin/password123(Not implemented, please register manually).
client/: React Frontendserver/: Express Backendmodels/: Mongoose Schemas (Scheme, Crop, Officer)routes/: API Routescron/: Auto-update logic