Initial Nuxt data explorer setup

This commit is contained in:
2025-09-29 14:10:11 -06:00
commit 47f4a20bd3
35 changed files with 13509 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import { fetchAllData } from '../../services/table-service'
export default defineEventHandler(async (event) => {
const query = getQuery(event)
const requestedLimit = Number.parseInt((query.limit as string) ?? '', 10)
const limit = Number.isFinite(requestedLimit) ? Math.min(Math.max(requestedLimit, 1), 100) : 25
return await fetchAllData(limit)
})