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-3/

{
  "context": "This evaluation assesses how effectively the engineer uses the @supabase/supabase-js package to implement email/password authentication functionality. The criteria focus specifically on correct usage of the Supabase authentication API methods for sign up, sign in, session management, and sign out operations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Client Initialization",
      "description": "Uses createClient() function to initialize the Supabase client with URL and API key parameters",
      "max_score": 10
    },
    {
      "name": "Sign Up Implementation",
      "description": "Uses auth.signUp() method to register new users with email and password credentials",
      "max_score": 25
    },
    {
      "name": "Sign In Implementation",
      "description": "Uses auth.signInWithPassword() method to authenticate existing users with email and password credentials",
      "max_score": 25
    },
    {
      "name": "Session Retrieval",
      "description": "Uses auth.getSession() method to retrieve the current user's session data",
      "max_score": 15
    },
    {
      "name": "Sign Out Implementation",
      "description": "Uses auth.signOut() method to end the user's authenticated session",
      "max_score": 15
    },
    {
      "name": "Response Handling",
      "description": "Correctly handles the response structure from Supabase auth methods, accessing data and error properties appropriately",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

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

tile.json