Isomorphic JavaScript client for Supabase providing authentication, database, real-time, storage, and edge functions capabilities.
89
Build a user authentication service that supports user registration and login with email/password credentials.
Implement the following functionality:
User Registration
User Login
Session Retrieval
User Sign Out
Provides authentication and backend services support.
File: auth.test.ts
Input:
email: "newuser@example.com"
password: "SecurePass123!"Expected behavior:
File: auth.test.ts
Input:
email: "existinguser@example.com"
password: "MyPassword456!"Expected behavior:
File: auth.test.ts
Input:
email: "user@example.com"
password: "WrongPassword"Expected behavior:
Install with Tessl CLI
npx tessl i tessl/npm-supabase--supabase-jsevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10