Skip to content

Commit

Permalink
feat: add api welcome
Browse files Browse the repository at this point in the history
  • Loading branch information
christophstockinger committed Nov 15, 2024
1 parent 50c2f7e commit 56a30ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@
/** @var Router|Router $router */
$router = app()->get('router');

$router->get('/', function () {
return response()->json(['message' => 'HiEvents API']);
});

$router->prefix('/auth')->group(
function (Router $router): void {
$router->post('/login', LoginAction::class)->name('login');
Expand Down

0 comments on commit 56a30ca

Please sign in to comment.