Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

firebase in Payload CMS

default discord avatar
Daniel502last year
11

Hey, guys . Please , is it possible to have firebase components in Payload . I mean have a data collection table in the admin dashboard and have the connected form in the front end . Either as a block or hard coded . Or is it a bad idea

  • default discord avatar
    notchrlast year

    @Daniel502 Hey Daniel, you could surely pull information from Firebase via their API/SDK, however, and display the data in a component. However, Payload handles authentication, data, mostly everything Firebase would be doing for a basic site. What feature set are you looking to implement specifically from Firebase? If it's a matter of data, you could always import your data from Firebase into Payload

  • default discord avatar
    Daniel502last year

    @notchris the issue is with the form plugin not having a file upload feature . I'd like to be able to upload files in my form submission data that I can also download. I tried adding said feature to payload but I'm not having luck with it .. firebase seemed the fastest alternative

  • default discord avatar
    notchrlast year

    @Daniel502 Payload has a built in upload field, if you define an upload collection



    https://payloadcms.com/docs/fields/upload
  • default discord avatar
    Daniel502last year

    @notchris and this works for forms?

  • default discord avatar
    s4chinlast year

    @notchris do you have any blog or documentation how to use OTP based login?

  • default discord avatar
    notchrlast year

    @Sachin I don't have a blog post on that topic, what would you like to know specifically?

  • default discord avatar
    sp047last year

    @notchris can payload be configured to use firebase storage as the file storage?

  • default discord avatar
    notchrlast year

    Hmm, I think with a plugin it's possible, though I haven't look much at how data is stored



    It may not even be that hard depending on how the existing upload service integrates

  • default discord avatar
    sp047last year

    Meaning I have to write my own plugin?

  • default discord avatar
    notchrlast year

    @Skillful Plastic To add firebase as an additional upload provider for payload, yes. However, the existing plugins for S3 etc, should have done most of the work, you may be able to fork the plugin, update some of the logic that is particular to the service and test that out

  • default discord avatar
    sp047last year

    Can you please send links to these plugins?



    I found the plugin and turns out it supports gcp ootb. Thanks @notchris

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.