- Created complete Next.js 15 teaser website with CHORUS brand styling - Implemented mobile-responsive 3D logo (128px mobile, 512px desktop) - Added proper Exo font loading via Next.js Google Fonts for iOS/Chrome compatibility - Built comprehensive early access form with GDPR compliance and rate limiting - Integrated PostgreSQL database with complete schema for lead capture - Added scroll indicators that auto-hide when scrolling begins - Optimized mobile modal forms with proper scrolling and submit button access - Deployed via Docker Swarm with Traefik SSL termination at chorus.services - Includes database migrations, consent tracking, and email notifications 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
577 B
TypeScript
22 lines
577 B
TypeScript
import { NextResponse } from 'next/server'
|
|
import { healthCheck } from '../../../lib/db'
|
|
|
|
export async function GET() {
|
|
try {
|
|
const dbHealth = await healthCheck()
|
|
|
|
return NextResponse.json({
|
|
status: 'healthy',
|
|
timestamp: new Date().toISOString(),
|
|
service: 'chorus-teaser-website',
|
|
database: dbHealth
|
|
})
|
|
} catch (error) {
|
|
return NextResponse.json({
|
|
status: 'unhealthy',
|
|
timestamp: new Date().toISOString(),
|
|
service: 'chorus-teaser-website',
|
|
error: 'Database connection failed'
|
|
}, { status: 503 })
|
|
}
|
|
} |