From 814e5e11d287974bf27f65ae8bfe9b3c24b4e4c8 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Fri, 24 Apr 2026 10:26:07 +0300 Subject: [PATCH] add create plan route --- bootstrap/app.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstrap/app.php b/bootstrap/app.php index db0dd63..1ceeb8e 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -6,6 +6,7 @@ use DI\Bridge\Slim\Bridge; use App\View\ViewController; use App\Text\TextController; use App\Node\NodeController; +use App\Plan\PlanController; $container = require __DIR__ . '/container.php'; $app = Bridge::create($container); @@ -26,4 +27,6 @@ $app->get('/api/nodes/{textId}', [NodeController::class, 'getNodesOfText']); $app->post('/api/nodes/bulk', [NodeController::class, 'bulkCreateNodes']); $app->post('/api/nodes', [NodeController::class, 'createNode']); +$app->post('/api/plans', [PlanController::class, 'createPlan']); + return $app;