Skip to content

sahil-soni18/Farm-Bridge-App

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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.

Setup Instructions

Frontend Setup

  1. Clone the repository:

    git clone https://github.com/<username>/farm-bridge.git
    cd farm-bridge

    Install dependencies:

  2. For go to Frontend:

    cd Farm-Bridge-Frontend

    For Backend:

    cd Backend

    Install dependencies:

    npm install
  3. Start the development server:

    npx expo start

Backend Setup (To Be Added)

Backend setup instructions will be updated once backend development begins.


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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 72.4%
  • JavaScript 27.6%