v0.1.10 - 플래너 저장 API 추가

This commit is contained in:
2026-04-21 18:02:03 +09:00
parent 20095a79db
commit 5b1c4bcfca
9 changed files with 260 additions and 82 deletions

View File

@@ -4,6 +4,7 @@ import { env } from './config.js'
import { sqlite } from './db/client.js'
import { ensureDatabaseSchema } from './db/init.js'
import { registerAuthRoutes } from './routes/auth.js'
import { registerPlannerRoutes } from './routes/planner.js'
const app = Fastify({
logger: true,
@@ -17,6 +18,7 @@ await app.register(cors, {
})
await registerAuthRoutes(app)
await registerPlannerRoutes(app)
app.get('/health', async () => {
const version = sqlite.prepare('select sqlite_version() as version').get()
@@ -37,7 +39,7 @@ app.get('/api/meta', async () => ({
orm: 'drizzle',
notes: [
'회원가입, 로그인, 현재 사용자 확인 API가 준비되어 있습니다.',
'플래너 저장 API는 로컬 저장 레이어 분리 이후 연결 예정',
'사용자별 플래너 저장 및 조회 API가 준비되어 있습니다.',
],
}))