Source Code

Source Code

Here is the complete source code for the FarmGuard application, organized by category for your reference.

Project Configuration

These files set up the project's dependencies, framework configuration, and styling foundation.

Core Application & Layouts

These files define the main structure, pages, and routing of your application.

Backend and AI Integration

This is the server-side logic that powers the AI features.

UI Components

These are the reusable UI building blocks from ShadCN.

Hooks & Utilities

These files provide helper functions and custom React hooks used throughout the app.

Localization

These files contain the translated strings for multi-language support.