Initial implementation: Logbuch Sternwarte Welzheim

Vollständige Next.js 16 Webanwendung als Logbuch für die Sternwarte Welzheim.
4 Kuppeln (West/Ost/Süd/Pluto), BEO-basierte Authentifizierung mit erzwungenem
Passwort-Wechsel beim Erstlogin, MySQL-Backend, Docker-Deployment.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-27 17:11:27 +02:00
parent f0a86627e5
commit 4e53a7a5cd
29 changed files with 1827 additions and 97 deletions

12
app/api/beos/route.ts Normal file
View File

@@ -0,0 +1,12 @@
import { NextResponse } from 'next/server';
import { query } from '@/lib/db';
export async function GET() {
try {
const rows = await query('SELECT ID, Kuerzel, Name FROM beos ORDER BY Name ASC');
return NextResponse.json(rows);
} catch (error) {
console.error('GET /api/beos:', error);
return NextResponse.json({ error: 'Datenbankfehler' }, { status: 500 });
}
}