Skip to main content

What is ElCoco?

ElCoco is a full-stack Laravel 12 web application built for Desarrollo DMI. It gives potential clients an interactive, no-login-required quotation builder where they compose a service package from pre-configured blocks, review a cost breakdown, and submit the quote — all in a single-page experience. On the back-office side, the DMI team receives every submission in a protected admin dashboard, can update quote statuses, schedule Google Meet appointments, reply by email with a PDF attachment, and track overall pipeline statistics.

Key capabilities

Quote Builder SPA

Clients build quotes at /cotizador by selecting categorised service blocks. Prices and hours update in real time.

PDF Generation

Every submitted quote is rendered to a branded A4 PDF via DomPDF and stored in public storage.

Admin Dashboard

Protected area for the DMI team to view, filter, and manage all incoming quotes.

Quote Management

Full status lifecycle — draft → sent → accepted / rejected / expired — with reply and meeting scheduling.

Block Configuration

Admins manage quote block categories and individual blocks with prices and hours.

REST API

Public and Sanctum-protected endpoints for the SPA and potential integrations.

Technology stack

LayerTechnology
FrameworkLaravel 12 (PHP 8.2+)
Frontend templatingBlade + Tailwind CSS
Build toolingVite
AuthenticationLaravel Breeze + Sanctum
PDF renderingbarryvdh/laravel-dompdf
HTTP clientGuzzle
DatabaseMySQL / SQLite
QueueLaravel Queue (database driver)

Architecture overview

┌─────────────────────────────────────────────────┐
│  Public (unauthenticated)                        │
│                                                  │
│  GET  /cotizador        →  Quote Builder SPA     │
│  POST /api/quotes/*     →  Submit / Draft / PDF  │
│  GET  /api/quote-blocks →  Block catalogue       │
└──────────────────┬──────────────────────────────┘
                   │ submits quote
┌──────────────────▼──────────────────────────────┐
│  Admin (auth + verified)                         │
│                                                  │
│  GET  /dashboard                                 │
│  GET  /admin/cotizaciones                        │
│  PATCH /admin/cotizaciones/{quote}/status        │
│  POST  /admin/cotizaciones/{quote}/reply         │
│  GET  /bloques  (block management)               │
└──────────────────────────────────────────────────┘

Getting started

Quickstart

Deploy ElCoco locally in under five minutes.

API Reference

Explore the full API surface available to the SPA and integrations.

Build docs developers (and LLMs) love