REFACTOR(repo): simplify project structure
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled
CI / lint-and-build (push) Has been cancelled

- Move services/nextjs/ to nextjs/
- Move Dockerfile.prod to Dockerfile at root
- Remove deploy/ folder (K8s manifests moved to K3S-HOME/web-apps)
- Remove .gitea/ workflows
- Update GitHub Actions for new structure
- Remove develop branch triggers
This commit is contained in:
2026-01-05 02:03:53 +09:00
parent b459ca9b9d
commit b5bb97aa16
84 changed files with 17 additions and 917 deletions

View File

@@ -0,0 +1,25 @@
import { NextResponse } from 'next/server'
import { prisma } from '@/shared/lib/prisma'
export async function GET() {
try {
// 데이터베이스 연결 확인
await prisma.$queryRaw`SELECT 1`
return NextResponse.json({
status: 'ok',
timestamp: new Date().toISOString(),
database: 'connected'
})
} catch {
return NextResponse.json(
{
status: 'error',
timestamp: new Date().toISOString(),
error: 'Database connection failed'
},
{ status: 503 }
)
}
}