Logo Lanfrica

moxer-mmh/Smart-Farm

Domaine:

agriculture

Type de record:

software
Créateur:
mox
Hôte:
Smart Farm is an innovative agricultural management system that leverages artificial intelligence, robotics, and IoT to optimize crop cultivation in both multi-span greenhouses and open fields in Algeria. Developed in collaboration with CDTA (Centre de Développement des Technologies Avancées) # Smart Farm Project 🌱 ## Overview Smart Farm is an innovative agricultural management system that leverages artificial intelligence, robotics, and IoT to optimize crop cultivation in both multi-span greenhouses and open fields in Algeria. Developed in collaboration with CDTA (Centre de Développement des Technologies Avancées), this project focuses on real-time plant disease detection, environmental monitoring, and seamless robotics integration for crops such as tomatoes and potatoes. ## Technology Stack ### Backend - **Framework:** FastAPI - **Database:** SQLite/MySQL/PostgreSQL (managed with SQLAlchemy and Alembic) - **API:** REST and GraphQL - **Authentication:** JWT Authentication - **Tools:** Pydantic, Alembic for database migrations ### Frontend - **Framework:** React with TypeScript - **Bundler:** Vite - **Styling:** Tailwind CSS and Shadcn/ui - **REST:** Axios - **GraphQL Client:** Apollo Client ## Repository Structure ``` Smart-Farm ├── .dist ├── .env ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── backend │ ├── .dist │ ├── README.md │ ├── alembic # Database migrations │ │ ├── README │ │ ├── env.py │ │ ├── script.py.mako │ │ └── versions │ │ ├── 28002713e436_init.py │ │ └── c8bad824e9aa_add_care_instructions_and_watering_.py │ ├── alembic.ini │ ├── app │ │ ├── __init__.py │ │ ├── api # API endpoints and GraphQL schema │ │ │ ├── __init__.py │ │ │ ├── api.py │ │ │ ├── graphql │ │ │ │ └── schema.py │ │ │ └── v1 │ │ │ └── endpoints │ │ │ └── auth.py │ │ ├── core # Core configuration and security │ │ │ ├── __init__.py │ │ │ ├── config.py │ │ │ └── security.py │ │ ├── db # Database initialization and sessions │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── init_db.py # Run this script to initialize the database (smart_farm.db) │ …