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

    Olyno

    04/07/2022, 11:24 AM
    They are!
  • o

    Olyno

    04/07/2022, 11:25 AM
    Look at the github: https://github.com/supabase/supabase
  • m

    mewash

    04/07/2022, 11:30 AM
    oh I see, supabase functions serve; thank you ๐Ÿ™‚
  • a

    alph42

    04/07/2022, 3:24 PM
    Does anyone know if I can restore a backup from one project into a different project. I want to have a staging/test environment (right now I just have my prod instance) and I think this is the easiest way for me to get that stood up.
  • f

    fernandolguevara

    04/07/2022, 3:30 PM
    @alph42 https://www.postgresql.org/docs/current/app-pgdump.html
  • a

    alph42

    04/07/2022, 3:34 PM
    Thanks @User - do you know if that will also pull the RLS policies?\
  • a

    alph42

    04/07/2022, 3:43 PM
    I found this: https://supabase.com/docs/guides/database#migrating-between-projects
  • r

    ricky

    04/07/2022, 11:03 PM
    is it possible to signin using multiple oauth providers?
    g
    • 2
    • 20
  • g

    garyaustin

    04/08/2022, 12:35 AM
    Multiple providers linked.
  • l

    logikal

    04/08/2022, 4:22 AM
    Hey all, is the project that handles the edge-functions api endpoints open source? I am specifically looking for the api handlers for *
    POST
    /v1/projects/:projectRef/functions/:functionName
    *
    PATCH
    /v1/projects/:projectRef/functions/:functionName
    Also looking for how a request gets routed to a deployed function. all I could find was the
    functions-relay
    repo, but there isn't much there to go on.
  • r

    Ry

    04/08/2022, 4:54 AM
    Are there any notes on why Kong was used and or where there are dependencies to it? Is it possible to rip and replace it with consul (service mesh/ingress) or even traefik?
  • i

    InvaderZed

    04/08/2022, 5:50 AM
    Complete noob here. I have a cvs file 100x150 which essentially a lookup table of pre-calculated results. Im not sure how i am supposed to label this data in preparation for the upload. If i label each collum or row i get an error saying i cant use more than 35 primaries. How do i prepare this for upload into supabase ?
  • m

    mellson

    04/08/2022, 9:38 AM
    Is there any speed difference between free and pro accounts? I'm finding the free version of Supabase cloud to be pretty slow. If I navigate to a page protected by the auth-helpers in Nextjs, those page transitions can take 2-5 seconds. I see the same pattern for SSR pages, where it can take many seconds to load a page. I'm reasonably close to the region of my Supabase instance, which is in Germany, while I'm in Denmark. I've tried keeping the Auth pages warm by contacting them every 5 minutes, but that doesn't change the speed. How are you finding the responsiveness of Supabase? And do you have any tips to speed up Auth / protected pages?
  • m

    mewash

    04/08/2022, 9:50 AM
    I'm going to switch to pro soon, but for now using free, also in Germany. The speed is pretty good, I accidentally DOSed myself by writing bad NextJS code and there were no problems Maybe you can check out the timing of your requests in Dev tools
  • m

    mewash

    04/08/2022, 9:52 AM
    I'm brand new to Next.JS and I seem to be making 3 consecutive requests which makes it load in 600ms If I wrote it better it should take 200-400ms
  • m

    mellson

    04/08/2022, 9:53 AM
    Nice, let us know how it goes ๐Ÿ‘ Looking at the timing in the dev tools I can see it takes around 2.5 seconds to open a page using Auth if it's the first time it's opened in a while. Subsequent requests are around 100->200ms.
  • m

    mewash

    04/08/2022, 9:54 AM
    Maybe Next.JS renders too much for you dev version I think re-renders each time, idk
  • m

    mellson

    04/08/2022, 9:55 AM
    Good input. But this is purely network / latency related. Even a full page refresh is really quick after Supabase has "woken" up
  • m

    mewash

    04/08/2022, 9:56 AM
    All I can add is that the free version runs at t4g.micro iirc, burstable ones
  • m

    mellson

    04/08/2022, 10:00 AM
    @mewash thank you, do you know the instance sizes of the pro subscription?
  • m

    mewash

    04/08/2022, 10:04 AM
    I'm not sure, I was wondering about that myself, I think you have to pay for a better instance, aside from the free instance @mellson
  • m

    mellson

    04/08/2022, 10:05 AM
    Thanks
  • p

    productdevbook

    04/08/2022, 12:28 PM
    https://ui.supabase.io/ table when add ?
  • d

    digitalsimboja

    04/08/2022, 1:22 PM
    Hello guys, How could I implement the Graphql query? I am currently doing this: export async function getStaticProps() { // If this request throws an uncaught error, Next.js will // not invalidate the currently shown page and // retry getStaticProps on the next request. // Prepare our GraphQL query const PostsQuery =
    Copy code
    query {
      postCollection {
        edges {
          node {
            id
            description
          }
        }
      }
    }
    // Query for the data (React) const [result, reexecuteQuery] = useQuery({ query: PostsQuery, }) // Read the result const { data, fetching, error } = result if (!data) { // If there is a server error, you might want to // throw an error instead of returning so that the cache is not updated // until the next successful request. throw new Error(
    Failed to fetch posts, received status ${error}
    ) } // If the request was successful, return the posts // and revalidate every 10 seconds. return { props: { posts, }, revalidate: 10, } }
  • d

    digitalsimboja

    04/08/2022, 1:23 PM
    I am not getting the setup query Supabase, what I am doing wrong?
  • d

    digitalsimboja

    04/08/2022, 1:23 PM
    Any help would be appreciated as I have been on this for 48hrs now
  • o

    Olyno

    04/08/2022, 1:30 PM
    Hi Please ask in #843999948717555735 instead, it's more an adapted place for asking for help :p
  • o

    Olyno

    04/08/2022, 1:30 PM
    Hi You mean this? https://github.com/supabase/grid
  • d

    digitalsimboja

    04/08/2022, 1:33 PM
    okay
  • n

    nota

    04/08/2022, 1:58 PM
    just curious - is there a reason this isnโ€™t just included in the ui library?
1...211212213...392Latest