Farm-Bridge is a mobile application designed to bridge the gap between farmers and consumers, enabling farmers to sell their produce directly to consumers and retailers, thereby eliminating middlemen and ensuring fair prices. This app empowers farmers to showcase their products, negotiate prices, and manage transactions seamlessly.
- Current Focus: Frontend development using React Native.
- Future Work: Backend development and integration, using JavaScript for the backend logic.
- Login and Authentication Screen: User-friendly interface for login functionality (authentication logic to be added).
- Home Page: Displays categories of products and a user dashboard with a dark theme.
- Navigation: Smooth navigation between screens using React Navigation.
- Product Listing: Allow farmers to list their produce with images, prices, and descriptions.
- Price Negotiation: Enable buyers and farmers to communicate and negotiate prices directly.
- Transaction Management: Secure and efficient transaction tracking.
- Push Notifications: Notify users about updates, orders, and offers.
- Framework: React Native
- Navigation: React Navigation
- Styling: React Native Stylesheet
- Language: JavaScript (Node.js)
- Framework: Express.js or Fastify (to be decided)
- Database: MongoDB or PostgreSQL
- Authentication: JWT-based authentication
Farm-Bridge-Frontend
app
(tabs)
_layout.tsx
explore.tsx
index.tsx
+not-found.tsx
_layout.tsx
Screens
Login.tsx
Home.tsx
assets
components
constants
hooks
scripts
.gitignore
README.md
app.json
package-lock.json
app
: Contains the core app structure and screen files.components
: Reusable UI components.constants
: Static values like theme colors or API endpoints.hooks
: Custom React hooks for handling state and logic.assets
: Images, fonts, and other static files.scripts
: Utility scripts for automation or specific functionality.
-
Clone the repository:
git clone https://github.com/<username>/farm-bridge.git cd farm-bridge
Install dependencies:
-
For go to Frontend:
cd Farm-Bridge-Frontend
For Backend:
cd Backend
Install dependencies:
npm install
-
Start the development server:
npx expo start
Backend setup instructions will be updated once backend development begins.
We welcome contributions! To get started:
- Fork the repository.
- Create a new branch:
git checkout -b feature/<feature-name>
- Commit your changes:
git commit -m "Add new feature"
- Push to the branch:
git push origin feature/<feature-name>
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.
- React Native Documentation
- Smart India Hackathon for the Problem Statement
- Open-source contributors and community
Let’s bridge the gap between farmers and consumers with technology!