Logo Lanfrica

JosephNderitu/shamba-records-task

Domain:

agriculture

Record type:

software
Creator:
Jos
Host:
# 🌱 SmartSeason Field Monitoring System > A full-stack web application that helps coordinators and field agents track crop progress across multiple fields during a growing season. --- ## πŸ”— Live Demo **shamba-records-task.onrende… --- ## πŸ” Demo Credentials | Role | Username | Email | Password | |------|----------|-------|----------| | Admin (Coordinator) | `Admin` | `test.admin@gmail.com` | `Admin@2026` | | Field Agent | `agent01` | `agent@gmail.com` | `agent@2026` | --- ## βœ… Features - **Role-based access control** β€” Admin and Field Agent roles with separate views - **Field management** β€” Create, edit, delete and assign fields (Admin only) - **Field updates** β€” Agents post stage updates with notes and observations - **Field lifecycle** β€” Planted β†’ Growing β†’ Ready β†’ Harvested - **Computed status** β€” Active, At Risk, Completed (auto-calculated) - **Dashboards** β€” Separate views for Admin and Agent with Chart.js insights - **Activity timeline** β€” Full audit trail of every field update - **Search & filters** β€” Filter fields by stage, status, or keyword - **Jazzmin admin panel** β€” Enhanced Django admin interface --- ## πŸ› οΈ Tech Stack | Layer | Technology | |-------|------------| | Backend | Django 5.2 (Python 3.11) | | Database | PostgreSQL 15 | | Frontend | HTML5, Bootstrap 5, Chart.js, FontAwesome | | Web Server | Nginx + Gunicorn | | Containerization | Docker + Docker Compose | | Deployment | Render | | CI/CD | GitHub Actions | --- ## πŸš€ Local Setup ### Prerequisites - Docker Desktop - Git ### Steps ```bash # 1. Clone the repository git clone github.com cd shamba-records-task # 2. Create environment file copy .env.example .env # Edit .env with your values # 3. Build and start docker compose up --build # 4. Visit the app # localhost ``` ### Environment Variables Create a `.env` file in the root directory: ```env SECRET_KEY=your-secret-key-here DEBUG=1 ALLOWED_HOSTS=localhost, …