Initial commit from Create Next App

This commit is contained in:
root
2025-07-09 10:24:30 +02:00
commit 3cf31dc55f
8 changed files with 5905 additions and 0 deletions

9
src/app/[slug]/route.ts Normal file
View File

@@ -0,0 +1,9 @@
import { NextRequest, NextResponse } from "next/server";
export async function GET(
request: NextRequest,
{ params }: { params: Promise<{ slug: string }> },
) {
const { slug } = await params;
return NextResponse.json({ message: `Hello ${slug}!` });
}

5
src/app/route.ts Normal file
View File

@@ -0,0 +1,5 @@
import { NextResponse } from "next/server";
export async function GET() {
return NextResponse.json({ message: "Hello world!" });
}