diff --git a/src/TaxBaik.Web/Pages/Admin/Dashboard.cshtml b/src/TaxBaik.Web/Pages/Admin/Dashboard.cshtml new file mode 100644 index 0000000..c9f2192 --- /dev/null +++ b/src/TaxBaik.Web/Pages/Admin/Dashboard.cshtml @@ -0,0 +1,47 @@ +@page +@model TaxBaik.Web.Pages.Admin.DashboardModel +@{ + ViewData["Title"] = "대시보드"; +} + +
+
+
+

TaxBaik Admin

+

대시보드

+

관리자 업무 흐름의 시작점입니다.

+
+
로그인 사용자: @User.Identity?.Name
+
+ +
+
+
+
+
고객 관리
+

고객 목록

+

검색, 상세, 등록, 수정, 삭제 흐름을 이곳에서 정리합니다.

+
+
+
+
+
+
+
DB 관리
+

Flyway migration

+

모든 스키마 변경은 SQL migration으로 추적합니다.

+
+
+
+
+
+
+
인증
+

Cookie Authentication

+

JWT 대신 서버 쿠키로 관리자 세션을 유지합니다.

+
+
+
+
+
+ diff --git a/src/TaxBaik.Web/Pages/Admin/Dashboard.cshtml.cs b/src/TaxBaik.Web/Pages/Admin/Dashboard.cshtml.cs new file mode 100644 index 0000000..1b50549 --- /dev/null +++ b/src/TaxBaik.Web/Pages/Admin/Dashboard.cshtml.cs @@ -0,0 +1,13 @@ +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc.RazorPages; +using TaxBaik.Web.Services; + +namespace TaxBaik.Web.Pages.Admin; + +[Authorize(AuthenticationSchemes = AdminAuthDefaults.Scheme)] +public class DashboardModel : PageModel +{ + public void OnGet() + { + } +} diff --git a/src/TaxBaik.Web/Pages/Admin/Index.cshtml b/src/TaxBaik.Web/Pages/Admin/Index.cshtml new file mode 100644 index 0000000..2d42e92 --- /dev/null +++ b/src/TaxBaik.Web/Pages/Admin/Index.cshtml @@ -0,0 +1,28 @@ +@page +@model TaxBaik.Web.Pages.Admin.IndexModel +@{ + ViewData["Title"] = "관리자 홈"; +} + +
+
+
+

TaxBaik Admin

+

고객관리 어드민

+

+ Razor Pages + Cookie Authentication + Dapper + Flyway 기준으로 정리하는 서버 렌더링 어드민입니다. +

+
+
+ +
+
+
+ diff --git a/src/TaxBaik.Web/Pages/Admin/Index.cshtml.cs b/src/TaxBaik.Web/Pages/Admin/Index.cshtml.cs new file mode 100644 index 0000000..13acef6 --- /dev/null +++ b/src/TaxBaik.Web/Pages/Admin/Index.cshtml.cs @@ -0,0 +1,13 @@ +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc.RazorPages; +using TaxBaik.Web.Services; + +namespace TaxBaik.Web.Pages.Admin; + +[Authorize(AuthenticationSchemes = AdminAuthDefaults.Scheme)] +public class IndexModel : PageModel +{ + public void OnGet() + { + } +}