Uploaded API "read" PHP file which processes GET requests for inventory data
The "read.php" file instantiates the Database and Inventorio classes and processes the SQL query with which the Inventorio object retrieves all the names of the products and their respective sellers from the database. This information is then outputted as a JSON file.
Uploaded API "Inventario" PHP file, implementing SQL query for product/seller names.
"Inventario.php" includes the template for a new class which contains/implements the SQL query necessary for extracting all the products' names, as well as the names of their sellers, data which is then accessed from the API via a GET request sent from an external client.
Uploaded API "Database" PHP file implementing connection to Raíces database
The "Database.php" file contains a class instantiated to establish a connection with the WordPress database, or alternatively with a private server generated locally through the XAMPP app on Miguel's computer.