Aavena
A multi-platform agricultural product that brings together map-based field delineation, crop and intervention tracking, weather data, visual plant analysis, and context-aware AI recommendations.

Core stack
The challenge
The main challenge was keeping the same data and business rules consistent across web, PWA, Android, and iOS, even though maps, the camera, permissions, authentication, and payments differ across platforms. At the same time, AI recommendations had to be built from the field's real data and protected server-side by access rules combining trial, Stripe, App Store, administrative access, and the admin role.
The solution
The Laravel backend separates controllers, FormRequests, services, and models for fields, fertilizations, treatments, yields, weather, conversations, analyses, and subscriptions. Field-dependent resources are looked up through the authenticated user's relationship, and SubscriptionEntitlementService centralizes premium-access verification. The frontend uses Vue 3, TypeScript, Pinia, and Vue Router, and Capacitor adapts native features. Google Maps Geometry handles areas and polygon editing, OpenWeatherMap supplies weather data with caching and fallback, and OpenAI services isolate text and vision completions. Stripe Checkout and signed webhooks cover web and Android, while iOS uses StoreKit, receipt validation, and Apple notifications. Firebase is used for Google authentication and push delivery.
Notable complexity
Aavena organizes farm activity at the field level. The user can draw and edit polygons on Google Maps, and the app calculates the area and keeps the coordinates, crop, and unit of measure. Each field centralizes fertilizations, treatments and their costs, yields, and weather data, so that the operational history is no longer scattered across notes and separate apps.
The product includes several AI flows, not a single generic chatbot. Field recommendations can be automatic or interactive, with an optional photo, and use the crop, area, season, geometry, weather, and work history as context. Separately, there is visual analysis for choosing a treatment based on the crop, and a dedicated flow for ornamental plants. Questions, answers, images, and recommendation context are persisted for later consultation, and chatbot conversations have their own history.
The same Vue frontend serves the browser, the PWA, and the native Capacitor containers for Android and iOS. The camera, gallery, geolocation, push notifications, deep links, and local preferences are adapted for mobile. The Laravel backend provides authentication via email and password, Google/Firebase, and Apple, email verification, an administrative role, and a shared entitlement service for trial, Stripe, App Store, and free access granted from the back office. The repositories include separate deployment for the API and web, and workflows that generate Android AAB and iOS archive/IPA artifacts, without equating the build with automatic store publishing.
Key results
- A single frontend codebase configured for web/PWA and native Capacitor Android and iOS projects
- Field management with polygon drawing and editing, geolocation, and area calculation on Google Maps
- Per-field registry for crop, fertilizations, treatments, costs, yields, and weather data
- Automatic and interactive AI recommendations built from geometry, weather, season, and the field's operational history
- Persistent history for AI recommendations, including the question, type, photo, and context used
- Separate visual-analysis flows for agricultural treatments and ornamental plants
- Agricultural chatbot with persistent conversations and messages
- Email, Google/Firebase, and Apple authentication, with Sanctum tokens and email verification
- Shared entitlement for trial, Stripe, App Store, administrative free access, and the admin role
- Per-device push notifications via Firebase Cloud Messaging, with opt-in/opt-out preference
- Back office for users, administrative roles, and managing free access
- GitHub Actions workflows for web/API deploy and generating Android AAB and iOS archive/IPA artifacts
Related projects
- PCUTBA web and mobile ecosystem for a barber shop, with appointments booked into slots calculated from services and schedule, administrative approval, push reminders, customer and service management, statistics, and loyalty mechanisms.
- Program Lucru (Work Schedule)A platform for organizing work schedules, time tracking, time-off-in-lieu, and statistics, complemented by an offline PWA, synchronized mobile alarms, Web Push notifications, role-based administration, and a BBD module for tracking products and batches.
Want something similar?
Start with the estimate wizard — answer a few questions and get a realistic price range and timeline.