https://supabase.com/ logo
Join Discord
Powered by
# help
  • o

    Olyno

    10/11/2021, 7:41 PM
    I could create it later if you want, but can't for now, and it gonna be probably a medium issue, because this is important
  • o

    Olyno

    10/11/2021, 7:41 PM
    I'm not in the dev team so obviously what I'm saying can be totally wrong
  • o

    Olyno

    10/11/2021, 7:42 PM
    But anyway, I'm gonna probably try to take that issue if I get the time to
  • o

    Olyno

    10/11/2021, 8:19 PM
    Simply use the Supabase's integrated API
  • o

    Olyno

    10/11/2021, 8:19 PM
    Needn't to make things harder
  • s

    silentworks

    10/11/2021, 8:38 PM
    Authentication with client side and server side
  • s

    silentworks

    10/11/2021, 8:39 PM
    I don't use React or React Native so it would be difficult for me to say how exactly, but I think there is a comment in that issue which outline how to get it done. I use Svelte kit and what the user on that issue has outlines is similarly to how I do it with Svelte kit.
    r
    o
    • 3
    • 5
  • m

    Mihai Andrei

    10/11/2021, 9:24 PM
    You enable rls
  • m

    Mihai Andrei

    10/11/2021, 9:24 PM
    And you dont make any policy
  • m

    Mihai Andrei

    10/11/2021, 9:24 PM
    This way, only the secret key can do things
  • o

    Olyno

    10/11/2021, 9:37 PM
    Does anyone already worked with Nodejs backend and Supabase? Like how login users to the backend?
  • m

    Mihai Andrei

    10/11/2021, 9:38 PM
    https://github.com/mihaiandrei97/supabase-nest-auth i implemented it this way
  • m

    Mihai Andrei

    10/11/2021, 9:38 PM
    Idk if it is the best
  • m

    Mihai Andrei

    10/11/2021, 9:40 PM
    On my implementation, Im using supabase only on serverside and send the token to thr frontend. Another way of doing it is this one: https://github.com/supabase/supabase/issues/491
  • m

    Mihai Andrei

    10/11/2021, 9:40 PM
    With having supabase on frontend and backend too
  • m

    Mihai Andrei

    10/11/2021, 9:41 PM
    The second one would be easier because you dont need to refresh tokens/ make sure you generate them ok on the server. You just need to verify them
  • s

    silentworks

    10/12/2021, 1:02 AM
    No, camelCase is actually hard to read and not great for database column names. It's not a set in stone rule but Postgres users prefer the user of lower_case_with_underscores, because if you use camelCase, you will then have to put the column name in quotes each time you use it otherwise myColumn and MyColumn would be equal the same thing, whereas "myColumn" and "MyColumn" aren't equal the same thing.
  • v

    Village

    10/12/2021, 1:13 AM
    Do all supabase users require an email or is it possible to have an account without one
  • z

    zeeshanok

    10/12/2021, 9:52 AM
    does the supabase realtime service follow row level security?
  • d

    Dinnerb0ne

    10/12/2021, 11:46 AM
    When using an oauth provider such as discord, how can I get the data provided by the provider?
  • d

    Dinnerb0ne

    10/12/2021, 11:49 AM
    Ah nevermind, scopes.
  • s

    s u s h i

    10/12/2021, 11:53 AM
    hi guys just wondering if its possible to import/export a database from one project to another inside supabase ecosystem
  • m

    MDobs

    10/12/2021, 2:25 PM
    wondering about that myself, a
    clone
    functionality would make sense
  • s

    Scott P

    10/12/2021, 2:34 PM
    Not at the moment. It's something the team are aware of and I believe they are looking into it.
  • z

    zeeshanok

    10/12/2021, 2:36 PM
    right thanks
  • a

    anand

    10/12/2021, 4:06 PM
    how do i run a query like
    SELECT SUM(column) FROM tablename
    with supabase-js?
    s
    g
    • 3
    • 4
  • v

    Victor Peralta

    10/12/2021, 5:03 PM
    I believe you'll have to create a view or function for that
  • a

    anand

    10/12/2021, 5:03 PM
    ah, thanks
  • s

    silentworks

    10/12/2021, 10:52 PM
    How to do a count on a table?
  • d

    Daniel

    10/13/2021, 5:44 AM
    Hi guys. Really quick questions. I am developing a flutter app using Real time database. I do have customers willing to use my app. I know Supabase have real time functionality already. Is it ready to use in Production ? I am debating myself between Supabase and Firebase.Thank you.
1...107108109...316Latest