Simple, static web frontend for a farm-to-consumer ordering flow: landing page, farmer pages, cart/checkout flow and farmer dashboard.
Farm2Table is a small static website demonstrating a minimal farm-to-consumer ordering front-end. It includes sample pages for shoppers and farmers, a basic cart & checkout flow, and a tiny farmer dashboard. This project is intended as a lightweight demo / learning project or starting point for a small marketplace prototype.
- Landing / index page
- Farmer listing and farmer dashboard pages
- Simple cart and payment flow (static mock)
- Lightweight client-side logic in
app.js - Styling with plain CSS (
styles.css) - Sample images in
images/
- HTML, CSS, JavaScript (client-side only — no backend included)
- GPL-3.0 license
index.html— Homepage / listingfarmers.html— Farmers listingfarmerLogin.html/farmerdashboard.html— Farmer flowscart.html,payment.html,delivery.html— Cart & checkout pagesapp.js— Client-side logic / interactionsstyles.css— Stylingimages/— Assets used by the pages
This is a static site — open index.html in your browser, or serve it with a simple HTTP server:
# from the repo root
python3 -m http.server 8000
# then open http://localhost:8000 in your browsernpm install -g serve
serve .
# open the provided localhost URLContributions, bug reports and improvements are welcome.
Suggested workflow:
-
Fork the repository.
-
Create a feature branch:
git checkout -b feat/my-change. -
Commit changes and push.
-
Open a pull request describing the change.
Please keep pull requests small and focused (UI, accessibility, bugfixes, modular JS, or converting to a backend-based demo are good candidates).
-
Replace static mock checkout with a simple backend (Node/Express or Firebase)
-
Add user authentication and per-farmer product management
-
Improve accessibility & responsiveness
-
Add tests and CI (linting for JS/CSS, HTML validation)
-
Optimize images and provide responsive image sets
This project is licensed under the GPL-3.0 license. See the LICENSE file for details.
Created by the Farm2Table project maintainers.