rowboat/apps/rowboat/app/api/templates/route.ts
Tushar a0734f7013
Prebuiltcards (#233)
* Add prebuilt cards functionality and related changes

* removed old jsons (still need to update the existing ones too)

* Refactor project templates to remove the Example Agent and update related documentation. Updated the copilot behaviour aswell.

* Merge remote-tracking branch 'origin/dev' into prebuiltcards

* Update SHOW_PREBUILT_CARDS logic to use environment variable for better configuration management
2025-09-08 21:22:35 +05:30

7 lines
259 B
TypeScript

import { NextResponse } from 'next/server';
import { templates } from '@/app/lib/project_templates';
export async function GET() {
// The templates are now dynamically loaded from JSON files in the templates folder
return NextResponse.json(templates);
}