FarmShare

FarmShare is a web application that connects local farms with people who want to discover and purchase fresh products directly from farmers. Many small farms struggle to reach customers because they lack an online presence where they can showcase their products. At the same time, many people are interested in buying fresh local food but often do not know where to find nearby farms.
This project focuses on solving that problem by creating a simple and user-friendly platform where farms can register, list their products, and appear in a searchable directory. Users can browse farms, explore available products, and learn more about local food sources.
The platform was built using HTML, CSS, PHP, and MySQL, and includes features such as farmer registration, farm pages, product management, and a search system that allows users to find farms based on specific products.
Concept and Early Planning
The idea for FarmShare came from the challenge that many small farms face when trying to promote their products online. While large grocery chains have strong online platforms, smaller farms often rely on local markets or word of mouth to reach customers.
The goal of this project was to create a platform that makes it easier for people to discover local farms and the products they offer. During the early stages of the project, I focused on defining the main features the platform would need to be useful and easy to navigate.
This process involved identifying the key components of the website, including a farm directory, individual farm pages, product listings, and a dashboard where farmers could manage their products. By breaking the project into these core features, it became easier to plan the structure of the website and the relationships between different parts of the system.
I also researched similar platforms and local food directories to understand how farms typically present their products and how users browse for local food. This helped guide decisions about the layout and functionality of the website.



Building the Platform
The production stage focused on building the functional system using web development technologies. The front-end interface of the website was developed using HTML and CSS to create a clean layout and simple navigation structure.
The back-end functionality was implemented using PHP and MySQL. A database was created to store user accounts, farm information, and product listings. Each farm is connected to a user account, allowing farmers to log in and manage their own farm profile and products.
The directory page dynamically displays farms stored in the database, allowing visitors to browse all available farms. Each farm card includes basic details such as the farm name, location, and description, along with a link to view the full farm page.
Another important feature added during development was the search system. Users can search for farms by entering product names, farm names, or locations. This makes it easier for visitors to find farms that offer specific products they are looking for.



Challenges and Problem Solving
One of the main challenges involved connecting farms and products correctly in the database. Since each farm can list multiple products, the structure needed to ensure that every product was correctly linked to its farm and displayed properly on the directory and farm pages.
Another challenge involved improving the search functionality so that users could search farms by product name as well as by farm name or location. After testing different database queries and refining the logic, the search system was successfully implemented.
These challenges helped improve my understanding of database relationships and dynamic web functionality.
Reflection
Working on FarmShare helped strengthen my understanding of how front-end design and back-end development work together to create a complete web application. The project required problem-solving, planning, and testing to ensure that different parts of the system functioned correctly.
Overall, this project helped me grow my practical web development skills and demonstrates my ability to build a functional and user-focused digital product.





