FarmR.ai is a full-stack application designed for managing farm-related activities and a friendly app for farmers. "Plant once, harvest always: Farm smarter, using our AI that sees, speaks, and understands and that grows with your farm." This project includes a backend built with Node.js and Express, and a frontend built with React Native using Expo.
FarmX/
├── backend/ # Backend code
│ ├── routes/ # API routes
│ ├── server.js # Main server file
│ └── package.json # Backend dependencies
├── frontend/ # Frontend code
│ ├── app/ # Expo app directory
│ │ ├── (tabs)/ # Tab-based navigation
│ │ └── screens/ # Screens for the app
│ ├── assets/ # Static assets (images, fonts, etc.)
│ └── package.json # Frontend dependencies
└── README.md # Project documentation
- User authentication (login and signup) using MongoDB.
- RESTful API endpoints for authentication.
- MongoDB integration for data storage.
- React Native app with Expo for cross-platform compatibility.
- Navigation using
expo-routerand React Navigation. - Login and Signup screens with styled buttons and a logo.
- Node.js and npm installed on your system.
- MongoDB installed and running locally.
- Expo CLI installed globally (
npm install -g expo-cli).
- Clone the repository:
git clone https://github.com/munishpatel/FarmX.git cd FarmX - Install backend dependencies:
cd backend npm install - Install frontend dependencies:
cd frontend npm install
- Navigate to the
backenddirectory and start the server:npm start
- The backend will run on
http://localhost:5001.
- Navigate to the
frontenddirectory and start the server:ornpm start
expo start
- Use the Expo Go app or an emulator to view the app.
- Node.js
- Express.js
- MongoDB
- React.js
- React Native Navigation
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature-name).
- Commit your changes (git commit -m "Add feature").
- Push to the branch (git push origin feature-name).
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.