FieldStat is a web-based platform for agricultural data analysis and visualization. It enables users to collect, analyze, and visualize field and weather data to support decision-making in crop management.
- User authentication and authorization
- Data collection and management for agricultural fields
- Weather data integration
- Interactive dashboards and charts
- RESTful API backend
- Modern, responsive frontend UI
FieldStat consists of two main components:
- Backend: Python Flask API for data processing, authentication, and business logic
- Frontend: React application for user interaction and data visualization
Both components are containerized using Docker and orchestrated with Docker Compose.
- Clone the repository:
git clone https://github.com/M1keEm/FieldStat cd FieldStat #enter your own api_key to .env file in the backendFlask directory
- Start the application using Docker Compose:
docker-compose up --build
- Access the frontend at
http://localhost:3000
and the backend API athttp://localhost:5000
.
- Located in the
backendFlask/
directory - Main entry point:
app.py
- Configuration:
config.py
- API routes:
routes/
- Services:
services/
- Tests:
tests/
- Install dependencies:
pip install -r requirements.txt
- Located in the
frontendReact/
directory - Main entry point:
src/main.jsx
- Components:
src/components/
- Install dependencies:
npm install
- Start development server:
npm run dev
- Use Docker Compose for full-stack development and testing
- Backend and frontend can be developed and tested independently
- Run tests for backend:
cd backendFlask pytest
This project is licensed under the MIT License.