Farm2Door is a full-stack MERN (MongoDB, Express.js, React.js, Node.js) online grocery delivery platform that connects customers directly with fresh farm produce. Users can browse products, manage carts, place orders, and track order history through a modern and responsive interface.
๐ Live Website: https://farm2door-app.vercel.app
- Frontend: https://farm2door-app.vercel.app
- Backend API: https://farm2-door-ivory.vercel.app
- User Registration & Login
- JWT Authentication & Authorization
- Browse Products by Categories
- Product Search & Filtering
- Add/Remove Items from Cart
- Update Cart Quantity
- Place Orders
- View Order History
- Manage User Profile
- Admin Dashboard
- Product Management (CRUD)
- Order Management
- User Management
- Inventory Tracking
Client (React)
โ
โผ
REST APIs (Express.js)
โ
โผ
Node.js Server
โ
โผ
MongoDB Database
| Category | Technologies |
|---|---|
| Frontend | React.js, React Router, Axios |
| Backend | Node.js, Express.js |
| Database | MongoDB, Mongoose |
| Authentication | JWT, bcryptjs |
| State Management | Context API / Redux |
| Styling | Tailwind CSS |
| Deployment | Vercel, Render, MongoDB Atlas |
Farm2Door/
โ
โโโ client/
โ โโโ public/
โ โโโ screenshots/
โ โโโ src/
โ โ โโโ assets/
โ โ โโโ components/
โ โ โโโ pages/
โ โ โโโ context/
โ โ โโโ services/
โ โ โโโ App.jsx
โ
โโโ server/
โ โโโ controllers/
โ โโโ middleware/
โ โโโ models/
โ โโโ routes/
โ โโโ config/
โ โโโ server.js
โ
โโโ README.md
โโโ package.jsongit clone https://github.com/prakashverma-dev/Farm2Door.git
cd Farm2Doorcd client
npm installcd server
npm installCreate a .env file inside the server directory:
PORT=5000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
CLIENT_URL= https://farm2door-app.netlify.app/npm run servernpm run devPOST /api/auth/register
POST /api/auth/login
GET /api/auth/profileGET /api/products
GET /api/products/:id
POST /api/products
PUT /api/products/:id
DELETE /api/products/:idPOST /api/orders
GET /api/orders/my-orders- Razorpay Payment Gateway Integration
- Wishlist Functionality
- Real-Time Order Tracking
- Product Reviews & Ratings
- AI-Based Product Recommendations
- Email Notifications
- Dark Mode Support
Contributions are welcome!
- Fork the repository
- Create your feature branch
git checkout -b feature/new-feature- Commit your changes
git commit -m "Add new feature"- Push to the branch
git push origin feature/new-feature- Open a Pull Request
This project is licensed under the MIT License.
Prakash Kumar Verma
โญ If you found this project useful, please give it a star on GitHub!









