Slim 4 Routing Issue

Hello beautiful people. I just created a new project with Slim 4 for first time. I am trying to test how routing works. When I run the app I get this error:

Fatal error : Uncaught Slim\Exception\HttpNotFoundException: Not found. in /opt/lampp/htdocs/vruummates/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php:91 Stack trace: #0 /opt/lampp/htdocs/vruummates/vendor/slim/slim/Slim/Routing/RouteRunner.php(71): Slim\Middleware\RoutingMiddleware->performRouting(Object(Slim\Psr7\Request)) #1 /opt/lampp/htdocs/vruummates/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request)) #2 /opt/lampp/htdocs/vruummates/vendor/slim/slim/Slim/App.php(208): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #3 /opt/lampp/htdocs/vruummates/vendor/slim/slim/Slim/App.php(192): Slim\App->handle(Object(Slim\Psr7\Request)) #4 /opt/lampp/htdocs/vruummates/public/index.php(5): Slim\App->run() #5 {main} thrown in /opt/lampp/htdocs/vruummates/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php on line 91

Then I add /test to the route which is the route I am testing and refresh the URL which produces this error:

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404

localhost
Apache/2.4.41 (Unix) OpenSSL/1.1.1d PHP/7.3.10 mod_perl/2.0.8-dev Perl/v5.16.3

I have the following files:

start.php
index.php
.htaccess

Here is the project structure:

Could you help me resolve it, please? Thank you!

I resolved this. If someone stumbles upon this problem, here is the guide I followed to fix this: https://github.com/slimphp/Slim