Spaces:
Runtime error
Runtime error
metadata
title: Crop Dashboard Platform
emoji: 🌾
colorFrom: green
colorTo: blue
sdk: docker
pinned: false
license: cc0-1.0
app_port: 7860
Crop Dashboard Platform
A professional agricultural sensor data management platform built with FastAPI and React.
Features
- Real-time sensor data visualization
- Multi-site management with crop categorization
- Role-based access control (RBAC)
- Group-based site access management
- Encrypted SQLite database (SQLCipher)
- JWT authentication with refresh tokens
- Dark/Light mode support
Demo Accounts
This demo uses synthetic data that is regenerated on each restart.
Grower One:
- Email:
grower1@demo.cropdash.dev - Password:
demo123 - Access: Sites 01-05
Grower Two:
- Email:
grower2@demo.cropdash.dev - Password:
demo123 - Access: Sites 06-10
Admin Access:
- Email:
admin@cropdash.dev - Password: Please inquire
Note: All data displayed is synthetically generated for demonstration purposes only.
Environment Variables
Configure these as Secrets in your HuggingFace Space settings:
| Variable | Description | Required |
|---|---|---|
SECRET_KEY |
JWT access token signing key (min 32 chars) | Yes |
REFRESH_SECRET_KEY |
JWT refresh token signing key (min 32 chars) | Yes |
DB_ENCRYPTION_KEY |
SQLCipher database encryption key (64+ chars recommended) | Yes |
ADMIN_PASSWORD |
Admin account password | Yes |
Tech Stack
- Backend: FastAPI, SQLAlchemy, SQLCipher
- Frontend: React, TypeScript, Tailwind CSS, Plotly
- Auth: JWT tokens with refresh token support and token versioning