v0.1.40 - 관리자 대시보드 기본 구조 추가

This commit is contained in:
2026-04-22 18:38:31 +09:00
parent b18af56c3c
commit 8f96c22c6d
14 changed files with 627 additions and 16 deletions

View File

@@ -4,6 +4,7 @@ import { env } from './config.js'
import { pool } from './db/client.js'
import { ensureDatabaseSchema } from './db/init.js'
import { registerAuthRoutes } from './routes/auth.js'
import { registerAdminRoutes } from './routes/admin.js'
import { registerGoalRoutes } from './routes/goals.js'
import { registerPlannerRoutes } from './routes/planner.js'
@@ -19,6 +20,7 @@ await app.register(cors, {
})
await registerAuthRoutes(app)
await registerAdminRoutes(app)
await registerGoalRoutes(app)
await registerPlannerRoutes(app)
@@ -42,6 +44,7 @@ app.get('/api/meta', async () => ({
orm: 'drizzle',
notes: [
'회원가입, 로그인, 현재 사용자 확인 API가 준비되어 있습니다.',
'관리자용 사용자 현황 요약 API가 준비되어 있습니다.',
'사용자별 목표 목록, 수정, 삭제 API가 준비되어 있습니다.',
'사용자별 플래너 저장 및 조회 API가 준비되어 있습니다.',
],