Git Product home page Git Product logo

gatsby-source-supabase's Introduction

Welcome to the Gatsby User Collective!

The Gatsby UC was born out of a desire to create higher quality plugins in the Gatsby ecosystem by reducing maintainer work loads.

Goals

Most Gatsby plugin projects aren't massive. Sometimes they need regular maintenance, a lot of the time they do not. Either way, original authors become unable or willing to maintain a plugin at any given moment or maybe indefinately. This is not a comdemnation, it's a fact of life that sometimes maintainers need to move on. No matter the cause, this results in plugins going un-maintained by their authors. Others are willing and able to help; but the bottle neck that cannot be bypassed. At times this means fixing bugs in less ideal ways, creating duplicate implementations of plugins, etc. The Gatsby User collective's goal is to demorcratize the maintenance of these plugins to allow more folks to assist in their maintenance.

Info

The details of this community is still being flushed out. As problems arrize we will solve them together and in an open fasion. For now check out

  • Code of conduct [TBA]
  • Submitting a plugin to the UC [TBA]
  • ...

gatsby-source-supabase's People

Contributors

alan2207 avatar moonmeister avatar

Stargazers

 avatar

Forkers

jslyonnais

gatsby-source-supabase's Issues

Moving Plugin to the Gatsby User Collective

Hello @alan2207, thanks for your work starting this plugin! I help run the Gatsby User Collective where the Gatsby community can work together to help maintain plugins. I'd love to see this plugin moved into the collective! Somewhat selfishly cause I use it and want to make some improvements! I'm also happy to contribute here if you're able to merge and release PRs.

If you are interested in contributing the plugin we have some docs on that very matter: https://github.com/gatsby-uc/plugins/blob/main/CONTRIBUTING.md#contributing-a-plugin. Please let me know if you have any further questions!

Race condition while building for dev

I just turn to supabase for my project and try the package. It seems like sometime (it depends) some of my infos are missing. Let me explain in example:

{
      resolve: `gatsby-source-supabase`,
      options: {
        supabaseUrl: process.env.SUPABASE_URL,
        supabaseKey: process.env.SUPABASE_KEY,
        types: [
          {
            type: "Review",
            query: (client) => client.from("review").select("*"),
          },
        ],
      },
    },

While in http://localhost:8000/___graphql sometime I can see the query

{
  allReview {
    edges {
      node {
        id
      }
    }
  }
}

but while in template, sometime (not happen all times!) graphql query return an error Cannot query field "allReview" on type "Query".

Edit: It seems like thing appear and disappear randomly while restarting the build (event with a clean)

Can I use this plugin to call `createClient`

I want to use the supabase functionality to do authentication.
The tutorial on supabase site was for react, I thought it could directly work for gatsby as well. But I believe the npm package @supabase/supabase-js, does not work for a gatsby project.

I realise this issue might be unrelated to the project, but wanted to check if you could provide a solution. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.