This guide gets you to a working login screen as fast as possible. For a full walkthrough of every configuration option, see the Installation page.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/EmirPolito/CRUD-HOTEL-GUEVARINI-Publico/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- PHP 7.4 or higher
- MySQL or MariaDB
- A local web server — XAMPP, WAMP, or Laragon all work
Steps
Clone the repository
Download or clone the project and place the folder inside your web server’s public directory.Move the resulting folder (
CRUD-HOTEL-GUEVARINI-Publico) into your server root — for example C:\xampp\htdocs\ on XAMPP.Install dependencies
Open a terminal in the project root and run:This creates the
vendor/ directory containing PHPMailer and any other required libraries.Import the database
Start your MySQL server, then import This creates the
base_de_datos.sql from the project root using phpMyAdmin, DBeaver, MySQL Workbench, or the CLI:hotel_guevarini_publico database, all tables, and seed data including the test accounts below.Configure database credentials
Open
php/conexion.php and update the four private properties to match your local MySQL setup:Configure SMTP
The system sends verification and password recovery emails via SMTP. Open each of the following files and fill in your SMTP credentials:
php/auth/procesar_registro.phpphp/auth/enviar_recuperacion.phpphp/auth/reenviar_verificacion.phpphp/usuarios/guardar_usuario.php
Test accounts
After importing the database, two seed accounts are available immediately:| Role | Password | |
|---|---|---|
| Administrator | admin@correo.com | 12345 |
| Client | cliente@correo.com | 12345 |
Change these passwords before deploying to any environment accessible outside your local machine.