Initial commit from Create Next App

This commit is contained in:
averel10
2026-02-27 13:18:49 +01:00
commit 868e003501
8 changed files with 1119 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!" });
}