FarmKart is a full-stack web application developed as a college project.
It connects farmers directly with consumers, allowing the sale of fresh vegetables and fruits without middlemen.
The project demonstrates the integration of frontend, backend, and database concepts using Python and Flask.
FarmKart aims to solve the problem of intermediaries between farmers and consumers by providing a simple digital platform where:
- Farmers can add and manage their products
- Customers can browse products and place orders
- Orders are handled in a structured and organized manner
This project focuses on clarity, simplicity, and real-world applicability.
- User authentication (Farmer & Customer roles)
- Product management by farmers
- Product browsing for customers
- Cart and checkout system
- Order management
- Clean and simple UI
- Python
- Flask
- HTML
- CSS
- JavaScript
- PostgreSQL
- SQLite
- VS Code
- GitHub
FarmKart/ │── app.py │── models.py │── requirements.txt │── static/ │ └── css/ │ └── style.css │── templates/ │ ├── index.html │ ├── login.html │ ├── register.html │ ├── dashboard.html │ ├── add_product.html │ ├── cart.html │ └── checkout.html
The database design is based on the following entities:
- User (Farmer / Customer)
- Product
- Order
- OrderItem
- A user (farmer) can add multiple products
- A customer can place multiple orders
- An order can contain multiple products
The ER diagram visually represents these relationships and was created as part of the project documentation.
- Clone or download the repository
- Open the project folder in VS Code
- Create and activate a virtual environment
- Install required dependencies: pip install -r requirements.txt
- Run the Flask application: python app.py
- Open your browser and visit: http://127.0.0.1:5000/
This project uses Flask, which is a server-side framework.
- GitHub Pages supports only static websites (HTML, CSS, JS)
- Therefore, the Flask backend cannot be run directly on GitHub Pages
For demonstration purposes, the project can be:
- Run locally, or
- Deployed on platforms like Render or PythonAnywhere
This project was developed as part of a college curriculum to:
- Understand full-stack web development
- Learn Flask framework
- Practice database modeling and ER diagrams
- Apply MVC architecture concepts
Omkar Kangane
College Project – FarmKart
This project is licensed under the MIT License.
See the LICENSE file for details.
- Project PPT available in
/docs - Screenshots of the application in
/docs/screenshots - ER Diagram included in
/docs