App 0.1.0

This commit is contained in:
2021-03-15 17:42:56 -03:00
parent 0f9f0e3f7f
commit 048718b552
11 changed files with 289 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<?php
use ProVM\Money\Common\Controller\Currencies;
$app->group('/currencies', function($app) {
$app->post('/add[/]', [Currencies::class, 'add']);
$app->get('[/]', Currencies::class);
});
$app->group('/currency/{currency_id}', function($app) {
$app->get('[/]', [Currencies::class, 'show']);
});