Skip to content

Repository files navigation

Farm-Bridge: Connecting Farmers and Consumers

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.


Project Status

  • Current Focus: Frontend development using React Native.
  • Future Work: Backend development and integration, using JavaScript for the backend logic.

Features

Current Features:

  • 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.

Planned Features:

  • 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.

Technology Stack

Frontend

  • Framework: React Native
  • Navigation: React Navigation
  • Styling: React Native Stylesheet

Backend (Future Work)

  • Language: JavaScript (Node.js)
  • Framework: Express.js or Fastify (to be decided)
  • Database: MongoDB or PostgreSQL
  • Authentication: JWT-based authentication

Folder Structure

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

Key Folders:

  • 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.

FARM BRIDGE APP WORKFLOW

diagram


Setup Instructions

Frontend Setup

  1. Clone the repository:

    git clone https://github.com/thedarkking01/Farm-Bridge-App
    cd farm-bridge

    Install dependencies:

  2. For go to Frontend:

    cd Farm-Bridge-Frontend
  3. Start devlopment :

    npx expo start

Backend Setup (To Be Added)

For Backend:

cd Backend

Install dependencies:

npm install

Start the development server:

node index.js

Contributing

We welcome contributions! To get started:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/<feature-name>
  3. Commit your changes:
    git commit -m "Add new feature"
  4. Push to the branch:
    git push origin feature/<feature-name>
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • 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!

About

This app is created to help farmers reach a broader market and gain fairer prices for their products, reducing their reliance on intermediaries. By providing a platform for direct transactions, Farm-Bridge enhances farmers' economic opportunities and empowers consumers with fresh, locally-sourced produce.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages