mirror of
https://github.com/docker/awesome-compose.git
synced 2025-06-30 01:31:06 +00:00
- Frontend: React Js setup with Vite - Backend: Laravel - Database: MySQL Signed-off-by: Raghavendra N <8619262+raghavendra89@users.noreply.github.com>
11 lines
215 B
PHP
11 lines
215 B
PHP
<?php
|
|
|
|
use App\Models\Config;
|
|
|
|
Route::get('/config', function (Request $request) {
|
|
$config = Config::where('key', ['title'])->first();
|
|
|
|
return response()->json([
|
|
'title' => $config->title
|
|
]);
|
|
}); |