FarmDirect is a full-stack web application that connects farmers directly with buyers, eliminating intermediaries and enabling fair pricing. Farmers can manage their products, while buyers can browse, add items to the cart, and place orders online.
🚀 Features
👨🌾 Farmer
- Register and log in
- Add, update, and delete products
- Manage product inventory
- View product listings
🛒 Buyer
- Register and log in
- Browse available products
- View product details
- Add products to cart
- Place orders
👨💼 Admin
- Manage farmers and buyers
- Manage products
- Monitor the platform
🛠️ Technologies Used
Backend
- Java
- Spring Boot
- Spring MVC
- Spring Data JPA
- Spring Security
Frontend
- HTML
- CSS
- Thymeleaf
- Bootstrap
Database
- MySQL
Build Tool
- Maven
- Git
- GitHub
📂 Project Structure
FarmDirect
│── src
│ ├── main
│ │ ├── java
│ │ ├── resources
│ │ └── templates
│── pom.xml
│── README.md
git clone https://github.com/IBM-SkillsBuild-AI-Builders-Challenge/Farm-Direct.gitcd Farm-DirectUpdate the database configuration in:
src/main/resources/application.properties
Example:
spring.datasource.url=jdbc:mysql://localhost:3306/farmdirect
spring.datasource.username=root
spring.datasource.password=your_passwordmvn spring-boot:runThe application will start at:
http://localhost:8080
📸 Screenshots
You can add screenshots here:
- Home Page
- Farmer Dashboard
- Buyer Dashboard
- Product Listing
- Shopping Cart
- Admin Dashboard
🎯 Future Enhancements
- Online payment integration
- Order tracking
- Email notifications
- Product search and filtering
- Reviews and ratings
- Mobile responsive UI
👨💻 Developer
Yeswanth Narni
- GitHub: https://github.com/yeswanthnarni
📄 License
This project is developed for learning purposes as part of the IBM SkillsBuild AI Builders Challenge.