Sistema web para crear proyecto web nuevo

This commit is contained in:
2020-07-03 17:21:55 -04:00
parent af3507bda5
commit ad3952501f
53 changed files with 2437 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<?php
use ProVM\Projects\Common\Controller\API\Create;
$app->group('/create/{project}', function($app) {
$app->get('/folder', [Create::class, 'createFolder']);
$app->get('/subfolders', [Create::class, 'createSubfolders']);
$app->post('/composer', [Create::class, 'addComposer']);
$app->get('/files', [Create::class, 'addFiles']);
$app->group('/git', function($app) {
$app->get('/init', [Create::class, 'gitInit']);
$app->get('/push', [Create::class, 'gitPush']);
});
});