Skip to content

sidharth1221/FarmDirectWeb

Repository files navigation

FarmDirectWeb

Local development: backend (FastAPI) + frontend (static HTML).

  • Backend: backend/ (FastAPI, SQLAlchemy, YOLO integration)
  • Frontend: frontend/index.html (single-file static front-end)

Quick start (local)

  1. Create a Python virtual environment and activate it:
python -m venv venv
.\venv\Scripts\Activate.ps1
  1. Install backend dependencies:
cd backend
pip install -r requirements.txt
  1. Start backend (from repo root):
# From project root
python start_backend.py
  1. Serve the frontend (any static server). For example, with VS Code Live Server or:
python -m http.server 5500 -d frontend
  1. Open http://localhost:5500 and use the UI.

Notes

  • Backend default port: 8001 (see start_backend.py).
  • Add your secrets to backend/.env (do NOT commit .env).
  • Large model files (*.pt) and credentials are ignored by .gitignore.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors