Agregando el backend de lumen

This commit is contained in:
2021-04-20 17:06:51 -04:00
parent cf875c8fdc
commit 99dd982041
43 changed files with 8416 additions and 0 deletions

18
backend/routes/web.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
/** @var \Laravel\Lumen\Routing\Router $router */
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a breeze. Simply tell Lumen the URIs it should respond to
| and give it the Closure to call when that URI is requested.
|
*/
$router->get('/', function () use ($router) {
return $router->app->version();
});