Home / Function/ GET() — supabase Function Reference

GET() — supabase Function Reference

Architecture documentation for the GET() function in route.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/cms/src/app/my-route/route.ts lines 4–14

export const GET = async () => {
  const payload = await getPayload({
    config: configPromise,
  })

  const data = await payload.find({
    collection: 'users',
  })

  return Response.json(data)
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free