first commit

This commit is contained in:
2025-06-29 07:12:20 -04:00
parent 6612f40d9b
commit cfcc4c480e
16 changed files with 3156 additions and 767 deletions

View File

@@ -0,0 +1,7 @@
import { NextResponse } from 'next/server';
export async function GET() {
const res = await fetch('http://localhost:8080/api/products'); // <-- your Spring backend endpoint
const data = await res.json();
return NextResponse.json(data);
}