The productor role is designed for Colombian coffee farmers (caficultores) who need a single place to track the daily FNC reference price, see AI-generated next-day predictions, discover what local buyers are paying, and receive email notifications when prices cross their target threshold. After completing email verification, a producer’s account is immediately active — no admin approval required.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JaiderT/CoffeePrice/llms.txt
Use this file to discover all available pages before exploring further.
Registration
Create an account
Navigate to
/register and fill in your name, surname, email, and password. Select Productor / Caficultor as your role, or leave the default (the model defaults rol to "productor").Verify your email
A 6-digit verification code is sent to your email address. Enter it on the
/verify-email screen. The code expires after a set period; use Resend if needed.Producers can also register or log in via Google OAuth. When using Google, email verification is skipped because the identity is already confirmed by Google.
Dashboard Features
Your producer dashboard at/dashboard brings together everything you need to make informed selling decisions:
| Feature | Description |
|---|---|
| Live FNC price table | Current official FNC purchase price per carga and per kg |
| Next-day prediction widget | AI forecast for tomorrow’s FNC price with confidence indicator |
| Buyer map access | Interactive map of approved local compradores and their offered prices |
| Price history charts | Historical FNC price trend charts filterable by date range |
| Active alert management | Summary of your configured price alerts and their current status |
Price Alerts
Price alerts let you define a minimum price threshold. When the FNC price meets or exceeds your target, CoffePrice sends you an email notification so you never miss a selling opportunity.Creating an Alert
Send aPOST request to /api/alertas with your target price:
Managing Existing Alerts
Account Management
All profile operations are available from the/perfil screen.
- Update profile
- Change password
- Suspend account
- Reactivate account
- Delete account
PUT /api/usuario/perfil — update your nombre, apellido, and celular.Frontend Routes
The following application routes are accessible to authenticated producers:| Route | Component | Description |
|---|---|---|
/dashboard | DashboardCaficultor | Main producer dashboard |
/perfil | PerfilProductor | Profile and account settings |
/alertas | Alertas | Create and manage price alerts |
/historial | Historial | Historical FNC price charts |
/precios | Precios | Live FNC and buyer price table |
/predicciones | Predicciones | Next-day price predictions |
/mapa | MapaCompradores | Regional buyer map |
API Endpoints
| Endpoint | Method | Auth required | Description |
|---|---|---|---|
/api/precios | GET | Public | Live FNC and buyer prices |
/api/predicciones | GET | Public | Next-day FNC price prediction |
/api/alertas/usuario/:usuarioId | GET | ✅ Owner only | List your own alerts |
/api/alertas | POST | ✅ productor or admin | Create a new price alert |
/api/alertas/:id | PUT | ✅ productor or admin | Update alert threshold |
/api/alertas/:id | DELETE | ✅ productor or admin | Delete an alert |
/api/historial-precios | GET | ✅ Authenticated | Historical price records |
/api/noticias | GET | Public | Coffee news articles |
/api/comprador/mapa | GET | Public | Approved buyer locations |