feat: add basic skeleton app

This commit is contained in:
2025-12-17 14:15:27 +01:00
parent 5596014f8d
commit f84c9dcbb4
2 changed files with 31 additions and 0 deletions

19
lib/Urupam/App.pm Normal file
View File

@@ -0,0 +1,19 @@
package Urupam::App;
use Mojo::Base 'Mojolicious';
use Moose;
sub startup {
my $self = shift;
my $r = $self->routes;
$r->get('/')->to(
cb => sub {
my $c = shift;
$c->render( text => 'Hello from urupam!' );
}
);
}
1;