This commit is contained in:
2021-12-25 23:17:47 -03:00
parent 7e01974ec8
commit d7d671fb51
68 changed files with 2991 additions and 160 deletions

View File

@ -0,0 +1,4 @@
<?php
use Incoviba\UI\Common\Controller\Base;
$app->get('[/]', Base::class);

View File

@ -0,0 +1,10 @@
<?php
use Incoviba\UI\Common\Controller\Auth;
$app->group('/auth', function($app) {
$app->group('/login', function ($app) {
$app->get('[/]', [Auth::class, 'login']);
$app->post('[/]', [Auth::class, 'doLogin']);
});
$app->get('/logout', [Auth::class, 'logout']);
});

View File

@ -0,0 +1,6 @@
<?php
$app->group('/inmobiliarias', function ($app) {
$app->get('[/]', function ($request, $response) {
return $response;
});
});