Skip to content

Harvest Connect is a hackathon project designed to bridge the gap between farmers and buyers. It offers a seamless platform for farmers to list their produce and for buyers to find and purchase fresh, locally-sourced goods. This initiative promotes transparency, supports local agriculture, and ensures fair prices for both parties.

Notifications You must be signed in to change notification settings

Blacksujit/HarvestConnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

HACKSPIRATION ' 24 Hackathon submission

Video Link:

https://youtu.be/Vkbpff5I3j0?si=DpOsL8AqM8Tkmjmn

HarvestConnect

Connecting Farmers. Nourishing Communities.

Problem statement:

Consumers:

Difficulty accessing fresh, locally-grown produce at competitive prices. Limited transparency about farming practices and the origin of food.

Farmers:

Difficulty reaching new customers beyond local markets. Reliance on middlemen who take a significant cut of profits. Lack of control over product pricing and distribution.

Our Solution :

This farmer management system is a two-way platform that facilitates direct interaction and product purchase between consumers and farmers. It aims to minimize the market gap, ensuring fairer prices for farmers and fresher, locally sourced products for consumers.

HLD Diagram / MVC Architecture of Project:


                           +----------------------------+
                           |        User Interface      |
                           | (Web Browser, Mobile App)  |
                           +------------|---------------+
                                        |
                                        v
                           +------------|---------------+
                           |         API Gateway        |
                           |  (Flask Application)       |
                           +------------|---------------+
                                        |
                    +-------------------|-------------------+
                    |                   |                   |
                    v                   v                   v
          +---------|---------+ +-------|---------+ +-------|---------+
          | Product Management| | Order Management| |Resource Management|
          +---------|---------+ +-------|---------+ +-------|---------+
                    |                   |                   |
                    v                   v                   v
          +---------|---------+ +-------|---------+ +-------|---------+
          |Product Database   | |Order Database   | |Resource Database |
          | (PostgreSQL)      | | (PostgreSQL)    | | (PostgreSQL)     |
          +---------|---------+ +-------|---------+ +-------|---------+
                    |
                    v
          +---------|---------+
          |User Authentication|
          |Database (PostgreSQL)|
          +--------------------+

Features

User Management:

1.) User registration and login for both consumers and farmers.

2.) Secure user authentication.

3.) Role-based access control to restrict functionalities based on user type (consumer/farmer).

Farmer Management:

1.) Farmer registration with detailed profile creation (name, timestamp, contact information, etc.).

2.) Ability for administrators to add, edit, and manage farmer profiles.

Website will look like:

image


image


image


image


image


Screenshot 2024-04-18 225749


image


image


image


image


image

Installation:

Clone the repository:

https://github.com/Blacksujit/Farmer_management_system.git

Dependencies:

pip install flask
pip install flask-sqlalchemy
pip install  mysql-client
pip install flask-login
pip install -r requirements.txt

Database connection:

Download xamp server:

https://sourceforge.net/projects/xampp/

click on next next and install : (installation window will look like this )

image

open xampp server on yur pc :

open:

image

start the xamp server :(navigate to control panel)

image

start the server by clicking on start (as shown ):

image

go to the admin panel of mysql (as shown in image a new window will open)

image

php admin panel:

image

click on new (add or creat a database instance):

image

enter the database name ( specifically " farmers " ) shown in input box

image

import the database from the project: (As shown )

image

click on import or go according to yur admin panel (after choosing dtabase file from project ):

image


image

the database will become visible in the sidebar of your admin panel:

image

Now Navigate to project in your vs code:

in terminal hit the command

python wsgi.py

or run the code inside the file wsgi.py

the developement server will run on port:(according the server provided on yur vs code)

Running on http://127.0.0.1:3000

Tech Stack used:

Flask

html ,css, javascript, sass

python

SQL database

Team mates :(contributors)

1.) abhishek kute

2.) sanskar awati

3.) manas kotian

License:

MIT

About

Harvest Connect is a hackathon project designed to bridge the gap between farmers and buyers. It offers a seamless platform for farmers to list their produce and for buyers to find and purchase fresh, locally-sourced goods. This initiative promotes transparency, supports local agriculture, and ensures fair prices for both parties.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published