const { createClient } = require('@supabase/supabase-js'); const supabaseUrl = 'https://supabase-ferrovia.mr-patator.fr'; const supabaseAnonKey = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzc1OTUxMjAxLCJleHAiOjE5MzM2MzEyMDF9.ZFuzZSHVOMX-poU1fhWTjZ2sn7LFz9NYATTwJknlSr0'; const supabase = createClient(supabaseUrl, supabaseAnonKey); async function test() { const { data: horaires, error } = await supabase.from('horaires_departs').select('*'); console.log('Error:', error); } test();