This commit is contained in:
2021-06-28 23:15:13 -04:00
parent 0061a3d920
commit f4a8db56ff
93 changed files with 2422 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?php
use ProVM\Crypto\Common\Controller\Home;
$files = new DirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . 'web');
foreach ($files as $file) {
if ($file->isDir()) {
continue;
}
include $file->getRealPath();
}
$app->get('/', Home::class);

View File

@ -0,0 +1,11 @@
<?php
use ProVM\Crypto\Common\Controller\Coins;
$app->group('/coins', function($app) {
$app->get('/add', [Coins::class, 'add']);
$app->get('[/]', Coins::class);
});
$app->group('/coin/{coin_id}', function($app) {
$app->get('[/]', [Coins::class, 'get']);
});