Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/LucaXGit/proyecto-final-jaz/llms.txt

Use this file to discover all available pages before exploring further.

Before you can run Tienda de Playeras, you need to have several tools installed on your machine. The project is split into two components — a Java 17 / Jakarta EE 10 backend deployed on Apache Tomcat, and a Laravel 12 PHP frontend — each with its own set of prerequisites. Make sure everything listed below is in place before proceeding to the setup guides.

Backend Requirements

The ServidorTiendaPlayeras WAR is built with Maven and deployed on Apache Tomcat. It connects to a MySQL database using JDBC with the credentials defined in Conexion.java.
RequirementMinimum VersionNotes
Java JDK17Required to compile and run the Jakarta EE application
Apache Maven3.6+Used to build the WAR via mvn clean package
Apache Tomcat10+Must support Jakarta EE 10 (Tomcat 10+ uses the jakarta.* namespace)
MySQL8.0+Stores product data in the tienda_playeras database
XAMPP is the recommended way to run MySQL locally. It bundles Apache and MySQL in a single installer and starts MySQL with the root user and an empty password — which matches the default credentials hardcoded in Conexion.java. Download it from apachefriends.org.

Frontend Requirements

The ClienteTiendaPlayeras Laravel application requires PHP, Composer, and Node.js to install dependencies and build frontend assets.
RequirementMinimum VersionNotes
PHP8.2+Required by "php": "^8.2" in composer.json
ComposerLatest stablePHP dependency manager — installs Laravel and all packages
Node.js18+Required to run npm install and npm run build for frontend assets
npmBundled with Node.jsManages JavaScript dependencies
Laravel12Installed automatically via Composer from composer.json
Both services must run on localhost. The backend must be on port 8080 and the frontend on port 8000. The API endpoint is hardcoded in PlayerasController.php as http://localhost:8080/ServidorTiendaPlayeras/ProductoServlet and cannot be changed at runtime without modifying the source code.

Build docs developers (and LLMs) love