CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-supabase--supabase-js

Isomorphic JavaScript client for Supabase providing authentication, database, real-time, storage, and edge functions capabilities.

89

0.95x
Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how well the engineer uses @supabase/supabase-js Storage API to upload files and generate public URLs. The focus is on proper usage of the storage.from() method, upload() for file operations, and getPublicUrl() for generating accessible URLs.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Supabase client initialization",
      "description": "Uses createClient() to initialize the Supabase client with proper URL and key configuration",
      "max_score": 15
    },
    {
      "name": "Storage bucket access",
      "description": "Uses storage.from('gallery') to access the gallery bucket for both upload and URL generation operations",
      "max_score": 20
    },
    {
      "name": "File upload implementation",
      "description": "Uses the upload() method to upload files with proper file name and file data parameters",
      "max_score": 25
    },
    {
      "name": "Public URL generation",
      "description": "Uses getPublicUrl() method to generate public URLs for uploaded or existing files",
      "max_score": 25
    },
    {
      "name": "Return value structure",
      "description": "Returns objects matching the specified API signature with path and publicUrl for uploadImage(), and array of fileName/publicUrl objects for getImageUrls()",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-supabase--supabase-js

tile.json