From a464ef4c0e3ce235fb1da70dfb282449beeeac80 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Tue, 13 Jun 2023 21:59:16 +0100 Subject: Initialize laravel app --- routes/api.php | 19 +++++++++++++++++++ routes/channels.php | 18 ++++++++++++++++++ routes/console.php | 19 +++++++++++++++++++ routes/web.php | 18 ++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 routes/api.php create mode 100644 routes/channels.php create mode 100644 routes/console.php create mode 100644 routes/web.php (limited to 'routes') diff --git a/routes/api.php b/routes/api.php new file mode 100644 index 0000000..889937e --- /dev/null +++ b/routes/api.php @@ -0,0 +1,19 @@ +get('/user', function (Request $request) { + return $request->user(); +}); diff --git a/routes/channels.php b/routes/channels.php new file mode 100644 index 0000000..5d451e1 --- /dev/null +++ b/routes/channels.php @@ -0,0 +1,18 @@ +id === (int) $id; +}); diff --git a/routes/console.php b/routes/console.php new file mode 100644 index 0000000..e05f4c9 --- /dev/null +++ b/routes/console.php @@ -0,0 +1,19 @@ +comment(Inspiring::quote()); +})->purpose('Display an inspiring quote'); diff --git a/routes/web.php b/routes/web.php new file mode 100644 index 0000000..d259f33 --- /dev/null +++ b/routes/web.php @@ -0,0 +1,18 @@ +