diff --git a/README.md b/README.md index 0165a77..8c673ea 100644 --- a/README.md +++ b/README.md @@ -1,59 +1,45 @@ -
+# ConstruProgress - +Sistema de gestión de proyectos de construcción con mapas interactivos, control de progreso, inspecciones y soporte offline. -## About Laravel +## Características -Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: +- **Mapas interactivos** — Visualización de proyectos sobre mapa con capas (GeoJSON/KML) y elementos editables +- **Gestión de fases** — Proyectos organizados en fases con progreso porcentual y seguimiento histórico +- **Capas y elementos** — Subida de archivos GeoJSON/KML, capas vacías editables con color personalizado +- **Inspecciones** — Plantillas de inspección por proyecto, asignables a elementos del mapa +- **Progreso** — Seguimiento visual del progreso por fase y global del proyecto +- **Sincronización offline** — Endpoints para trabajadores en campo, sincronización diferida +- **Permisos** — Roles y permisos granulares (Spatie Permission) +- **Dashboard** — Estadísticas globales, proyectos recientes, inspecciones -- [Simple, fast routing engine](https://laravel.com/docs/routing). -- [Powerful dependency injection container](https://laravel.com/docs/container). -- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. -- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). -- Database agnostic [schema migrations](https://laravel.com/docs/migrations). -- [Robust background job processing](https://laravel.com/docs/queues). -- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). +## Requisitos -Laravel is accessible, powerful, and provides tools required for large, robust applications. +- PHP 8.2+ +- MySQL/MariaDB +- Composer +- Node.js + NPM -## Learning Laravel +## Instalación -Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You can also check out [Laravel Learn](https://laravel.com/learn), where you will be guided through building a modern Laravel application. +```bash +git clone{{ $stats['global_progress'] }}%
+| Nombre | +Estado | +Fases | +Progreso | ++ |
|---|---|---|---|---|
| {{ $project->name }} | ++ @php + $badgeClass = match($project->status) { + 'planning' => 'badge-ghost', + 'in_progress' => 'badge-primary', + 'paused' => 'badge-warning', + 'completed' => 'badge-success', + default => 'badge-ghost' + }; + @endphp + {{ match($project->status) { + 'planning' => 'Planificación', + 'in_progress' => 'En obra', + 'paused' => 'Pausado', + 'completed' => 'Finalizado', + default => $project->status + } }} + | +{{ $project->phases_count }} | +
+ @php $avg = $project->phases->avg('progress_percent'); @endphp
+
+
+
+
+
+ {{ round($avg) }}%
+ |
+ + Mapa + | +
| No hay proyectos aún | ||||