From 9f9b9e80a1b58a7b4cc8405ba9a45d37e6d23081 Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Thu, 24 Jul 2025 20:12:23 +0530 Subject: [PATCH] set up /api/templates route --- apps/rowboat/app/api/templates/route.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 apps/rowboat/app/api/templates/route.ts diff --git a/apps/rowboat/app/api/templates/route.ts b/apps/rowboat/app/api/templates/route.ts new file mode 100644 index 00000000..4a7cd74e --- /dev/null +++ b/apps/rowboat/app/api/templates/route.ts @@ -0,0 +1,6 @@ +import { NextResponse } from 'next/server'; +import { templates } from '@/app/lib/project_templates'; + +export async function GET() { + return NextResponse.json(templates); +}