https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • p

    Pixsa

    09/03/2021, 3:04 PM
    Hey guys, look what was delivered to me today ^-^ Supa excited !
  • u

    user

    09/03/2021, 3:06 PM
    ooh neat, waiting on mine to come soon!
  • n

    nikivi

    09/03/2021, 3:06 PM
    ok it worked out, had to reuse supabase client
  • s

    silentworks

    09/03/2021, 3:11 PM
    @User please use a thread next time so its easier to follow your messages
  • n

    nikivi

    09/03/2021, 3:55 PM
    how can I use result of
    Auth.useUser();
    inside
    useEffect
    ? I have this code https://github.com/learn-anything/learn-anything/blob/main/pages/login.tsx I want to redirect users from /login page if they are already authenticated. Issue is that const { user } = Auth.useUser(); takes time to get result so inside my useEffect, user will be null always. is there a proper way to do it?
    j
    • 2
    • 2
  • s

    Scott P

    09/03/2021, 4:14 PM
    Auth in React useEffect
  • u

    ! Class self.PythonAddict = True

    09/04/2021, 8:30 AM
    hey yo yall, its my birthday
  • p

    Poypoypoy

    09/04/2021, 11:28 AM
    happy birthday buddy 🙂
  • p

    Pixsa

    09/04/2021, 3:03 PM
    Happy birthday to you ! ❤️
  • h

    HorseShoe

    09/04/2021, 5:43 PM
    Happy birthday!! 🥳
  • u

    user

    09/04/2021, 8:23 PM
    Hey guys, Just joined discord, have a question. I am trying to create a project and it takes forever to load. it has been more than 30 mins. it is stuck on "setting on DB" "this may take a few minutes" but its been too long imo. any idea why? Thanks in advance
  • u

    user

    09/04/2021, 10:05 PM
    Had this once too
  • u

    user

    09/04/2021, 10:05 PM
    Support helped me
  • d

    Daniel

    09/04/2021, 10:20 PM
    hi do you guys know when the trigger function will be available for production ? thank you.
  • t

    Thomas B

    09/04/2021, 11:45 PM
    Also experiencing the same right now
  • d

    darora

    09/05/2021, 12:16 AM
    We've resolved the issue with new project creation, though we're still investigating the underlying issue.
  • t

    Thomas B

    09/05/2021, 12:23 AM
    Perfect, thanks bud. 🙂
  • d

    darora

    09/05/2021, 12:32 AM
    @User this should be resolved now; if your project is still not created, hit us up at support@supabase.io and I'll look into it for you.
  • j

    JoshTheNerd

    09/05/2021, 5:05 AM
    Why is it that my logged in user can't insert a db role to create their profile?
  • j

    JoshTheNerd

    09/05/2021, 5:06 AM
    Like my
    Users can insert their own profile.
    policy made from the example user management sql code is untouched and says
    (uid() = id)
  • d

    Daniel

    09/05/2021, 6:04 AM
    any idea on how to insert, delete on many-to-many table ? thank you.
  • m

    mendesrenan5

    09/05/2021, 11:29 AM
    Can you guys suggest me what should I study to create custom logic processes for the database? I have a table with user achievements but is the backend that will check if the user has enough points/experience to get them... Putting this on the front end would be weird.
  • m

    mendesrenan5

    09/05/2021, 11:31 AM
    I mean something like this: User game session is finished --> The backend will check his points and put his achievements at the user_achievements table if this makes sense. How can I implement this? I know that it won't be a SQL thing but rather a Javascript thing, but how can I access the api/modify it/etc? I don't know where to start
  • j

    JoshTheNerd

    09/05/2021, 3:03 PM
    Database functions and triggers?
  • j

    JoshTheNerd

    09/05/2021, 3:03 PM
    I've never used them before but you can try that.
  • k

    Karan

    09/05/2021, 3:24 PM
    I am trying to setup the supabase repo locally. I installed all the dependencies in www package but when I go to localhost:3000 I get a 404 error. What am I missing?
  • k

    Karan

    09/05/2021, 3:24 PM
    In the terminal it says compiled successfully
  • k

    Karan

    09/05/2021, 3:25 PM
    But routing to other pages gives me 404 error
  • n

    Nine

    09/05/2021, 4:52 PM
    Just wanted to say, great tech guys, using it for a project with my friend and love it so far 🙂
  • n

    Nine

    09/05/2021, 4:52 PM
    together with nextjs its really great
1...969798...392Latest