- Laravel Sanctum 기반 세션 인증 시스템 구축 - Service-First 아키텍처: AuthService 작성 - FormRequest 분리: LoginRequest 검증 - DaisyUI 기반 로그인 UI 구현 - 라우트 설정: /login, /logout, /dashboard - Tailwind CSS 4.x PostCSS 설정 - Vite 빌드 완료 Phase 1-1: 인증 시스템 개발 완료
21 lines
543 B
PHP
21 lines
543 B
PHP
<?php
|
|
|
|
use Illuminate\Foundation\Application;
|
|
use Illuminate\Http\Request;
|
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
// Determine if the application is in maintenance mode...
|
|
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
|
|
require $maintenance;
|
|
}
|
|
|
|
// Register the Composer autoloader...
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
|
|
// Bootstrap Laravel and handle the request...
|
|
/** @var Application $app */
|
|
$app = require_once __DIR__.'/../bootstrap/app.php';
|
|
|
|
$app->handleRequest(Request::capture());
|