https://github.com/blacksujit/harvestconnect
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.
https://github.com/blacksujit/harvestconnect
database-management fullstack-development hackathon-project hackathon2024 javascript python3
Last synced: 5 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/blacksujit/harvestconnect
- Owner: Blacksujit
- Created: 2024-04-16T17:21:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-14T16:05:47.000Z (over 1 year ago)
- Last Synced: 2024-11-14T17:20:06.319Z (over 1 year ago)
- Topics: database-management, fullstack-development, hackathon-project, hackathon2024, javascript, python3
- Language: CSS
- Homepage: https://farmer-management-system.vercel.app
- Size: 2.48 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# HACKSPIRATION ' 24 Hackathon submission
# Video Link:
[Live 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:











# 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 )

## open xampp server on yur pc :
## open:

## start the xamp server :(navigate to control panel)

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

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

## php admin panel:

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

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

## import the database from the project: (As shown )

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


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

## 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