Archivos de configuración global, dependencias y assets base
This commit is contained in:
@@ -1,59 +1,183 @@
|
||||
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>
|
||||
# Abogadas Litoral
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a>
|
||||
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
|
||||
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
|
||||
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
|
||||
</p>
|
||||
Aplicacion web para gestion de turnos de un estudio juridico, desarrollada con Laravel y Vite.
|
||||
|
||||
## About Laravel
|
||||
## Tabla de contenido
|
||||
|
||||
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:
|
||||
- [Tecnologias y versiones](#tecnologias-y-versiones)
|
||||
- [Requisitos previos](#requisitos-previos)
|
||||
- [Instalacion](#instalacion)
|
||||
- [Comandos utiles](#comandos-utiles)
|
||||
- [Testing](#testing)
|
||||
- [Flujo de trabajo con Git](#flujo-de-trabajo-con-git)
|
||||
- [Estructura principal](#estructura-principal)
|
||||
- [Notas](#notas)
|
||||
|
||||
- [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).
|
||||
## Tecnologias y versiones
|
||||
|
||||
Laravel is accessible, powerful, and provides tools required for large, robust applications.
|
||||
Versiones tomadas del proyecto actual:
|
||||
|
||||
## Learning Laravel
|
||||
- PHP: `^8.2`
|
||||
- Laravel Framework: `^12.0`
|
||||
- PHPUnit: `^11.5.3`
|
||||
- Node.js: recomendado `>=20`
|
||||
- npm: recomendado `>=10`
|
||||
- Vite: `^7.0.7`
|
||||
- Bootstrap: `^5.3.8`
|
||||
- FullCalendar: `^6.1.20`
|
||||
- Spatie Laravel Backup: `^9.3`
|
||||
- DomPDF (barryvdh/laravel-dompdf): `^3.1`
|
||||
|
||||
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.
|
||||
Archivos fuente de versionado:
|
||||
|
||||
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
|
||||
- `composer.json`
|
||||
- `package.json`
|
||||
|
||||
## Laravel Sponsors
|
||||
## Requisitos previos
|
||||
|
||||
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com).
|
||||
- PHP 8.2 o superior
|
||||
- Composer 2.x
|
||||
- Node.js y npm
|
||||
- Base de datos (segun entorno):
|
||||
- En `.env.example` la conexion por defecto es `sqlite`
|
||||
- En `config/database.php` el fallback de Laravel esta en `mysql`
|
||||
|
||||
### Premium Partners
|
||||
## Instalacion
|
||||
|
||||
- **[Vehikl](https://vehikl.com)**
|
||||
- **[Tighten Co.](https://tighten.co)**
|
||||
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
|
||||
- **[64 Robots](https://64robots.com)**
|
||||
- **[Curotec](https://www.curotec.com/services/technologies/laravel)**
|
||||
- **[DevSquad](https://devsquad.com/hire-laravel-developers)**
|
||||
- **[Redberry](https://redberry.international/laravel-development)**
|
||||
- **[Active Logic](https://activelogic.com)**
|
||||
### Opcion rapida (script del proyecto)
|
||||
|
||||
## Contributing
|
||||
```bash
|
||||
composer run setup
|
||||
```
|
||||
|
||||
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
|
||||
Este script ejecuta:
|
||||
|
||||
## Code of Conduct
|
||||
1. `composer install`
|
||||
2. Creacion de `.env` desde `.env.example` (si no existe)
|
||||
3. `php artisan key:generate`
|
||||
4. `php artisan migrate --force`
|
||||
5. `npm install`
|
||||
6. `npm run build`
|
||||
|
||||
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
|
||||
### Opcion manual
|
||||
|
||||
## Security Vulnerabilities
|
||||
```bash
|
||||
composer install
|
||||
copy .env.example .env
|
||||
php artisan key:generate
|
||||
php artisan migrate
|
||||
npm install
|
||||
npm run build
|
||||
```
|
||||
|
||||
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
|
||||
Si usas Linux/Mac, reemplaza `copy` por:
|
||||
|
||||
## License
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
|
||||
## Comandos utiles
|
||||
|
||||
Levantar entorno de desarrollo completo (servidor, cola, logs y Vite):
|
||||
|
||||
```bash
|
||||
composer run dev
|
||||
```
|
||||
|
||||
Levantar solo backend:
|
||||
|
||||
```bash
|
||||
php artisan serve
|
||||
```
|
||||
|
||||
Levantar solo frontend:
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Compilar assets para produccion:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
||||
Ejecutar tests:
|
||||
|
||||
```bash
|
||||
composer run test
|
||||
```
|
||||
|
||||
o
|
||||
|
||||
```bash
|
||||
php artisan test
|
||||
```
|
||||
|
||||
## Flujo de trabajo con Git
|
||||
|
||||
### 1) Crear rama de trabajo
|
||||
|
||||
```bash
|
||||
git checkout main
|
||||
git pull origin main
|
||||
git checkout -b feature/nombre-cambio
|
||||
```
|
||||
|
||||
### 2) Commits pequenos y descriptivos
|
||||
|
||||
Formato recomendado:
|
||||
|
||||
- `feat: agrega agenda semanal`
|
||||
- `fix: corrige validacion de telefono`
|
||||
- `docs: actualiza readme de instalacion`
|
||||
|
||||
### 3) Subir rama y abrir Pull Request
|
||||
|
||||
```bash
|
||||
git add .
|
||||
git commit -m "feat: descripcion breve"
|
||||
git push -u origin feature/nombre-cambio
|
||||
```
|
||||
|
||||
### 4) Actualizar tu rama con cambios de main
|
||||
|
||||
```bash
|
||||
git checkout main
|
||||
git pull origin main
|
||||
git checkout feature/nombre-cambio
|
||||
git merge main
|
||||
```
|
||||
|
||||
## Estructura principal
|
||||
|
||||
- `app/`: modelos, controladores, middleware y logica principal
|
||||
- `resources/views/`: vistas Blade
|
||||
- `resources/js/` y `resources/css/`: frontend
|
||||
- `routes/`: rutas web, api y consola
|
||||
- `database/migrations/`: migraciones
|
||||
- `tests/`: pruebas unitarias y feature
|
||||
- `scripts/`: utilidades de scheduler en Windows
|
||||
|
||||
## Datos de acceso (Entorno de desarrollo)
|
||||
|
||||
Las credenciales de administrador se generan automáticamente al ejecutar las migraciones con seeders:
|
||||
|
||||
```bash
|
||||
php artisan migrate:fresh --seed
|
||||
```
|
||||
|
||||
O si prefieres solo los seeders sin resetear migraciones:
|
||||
|
||||
```bash
|
||||
php artisan db:seed
|
||||
```
|
||||
|
||||
Consulta `database/seeders/` para ver los datos que se cargan.
|
||||
|
||||
## Notas
|
||||
|
||||
- No subir archivos sensibles al repositorio (`.env`, claves, tokens).
|
||||
- Mantener este README actualizado ante cambios de version o arquitectura.
|
||||
|
||||
Reference in New Issue
Block a user