Check out the live website here
FAIrm is a modern web application providing AI-powered assistance for farming operations, featuring:
- 🌱 Intelligent crop planning
- 📊 Effective Monitoring
- 📅 Task management
- 💬 AI chat assistance
- 📈 Market insights
- 👤 Profile management
Category | Technologies |
---|---|
Frontend Core | React 18, TypeScript, Vite |
Styling | TailwindCSS, Radix UI |
State Management | Zustand, React Query |
Backend | FastAPI (Python), CrewAI, OpenAI |
Database | Supabase |
# Install dependencies
npm install
# Start development server
npm run dev
# Start backend server
cd backend
pip install -r requirements.txt
uvicorn main:app --reload
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
VITE_API_URL=http://localhost:8000
- Configure base URL in
vite.config.ts
:
export default defineConfig({
base: '/fairm/',
// ... other config
});
- Build and deploy:
npm run build
npm run deploy
-
Environment setup:
- Set Python version to 3.9
- Configure OpenAI, SerperAPI credentials
-
Build command:
pip install -r requirements.txt
- Start command:
uvicorn main:app --host 0.0.0.0 --port $PORT