firebase-admin-node VS reactfire

Compare firebase-admin-node vs reactfire and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
firebase-admin-node reactfire
38 17
1,578 3,477
1.0% 0.5%
8.9 4.2
4 days ago 16 days ago
TypeScript TypeScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

firebase-admin-node

Posts with mentions or reviews of firebase-admin-node. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-02.
  • The State of Angular SSR Deployment in 2024
    11 projects | dev.to | 2 Mar 2024
    Google has an Edge Network, but they push serverless functions like Cloud Run, which is also what version 2 of Firebase Cloud Functions use. Firebase Functions need a Version 3, which is built on the Edge. However, first Firebase, specifically firebase-admin would need to work on the edge. Google, who makes Angular, might then be able to compete better for deployment options. Cold Starts are terrible and should die IMHO, unless you have have specific use cases for them.
  • Auth during use on serverside (with firebase security rules).
    1 project | /r/Firebase | 3 Jun 2023
  • transfering image from from app to api
    1 project | /r/Kotlin | 29 May 2023
    There's a lot of different ways to skin this cat, the easiest would be to use a client library like firebase storage to upload the photo directly and you can get an image url from that to use. If you are trying to send it your own API, then you probably want to set up a multipart http request to attach the image and then with your admin storage library of choice to upload the image. I have done the second one before with ktor and firebase admin sdk .
  • Writing data to Firestore from another server?
    1 project | /r/Firebase | 25 May 2023
  • Migrating from Supabase
    7 projects | news.ycombinator.com | 19 May 2023
    Hi, I've recently gave supabase a shot to as an alternative to firebase because I needed SQL. One thing that I've struggled with from the start is that supabase seems to ignore backends completely.

    I don't want to use supabase edge functions, since I want to keep it simple with a single express backend and don't want to be vendor-locked.

    In firebase, the Admin SDK https://firebase.google.com/docs/admin/setup solves this, but seems to be missing in supabase. For example, for a simple JWT verification, I had to go to old github issues, rather than finding the answer in the docs. https://github.com/supabase/supabase/issues/491#issuecomment...

  • Firebase
    2 projects | /r/brdev | 31 Mar 2023
  • What is the best stack to use with firebase?
    1 project | /r/Firebase | 24 Dec 2022
    IMO, the best supporting runtime for firebase would either be nodejs or flutter. Along with firebase admin, you could technically fullstack JS/TS and have better-than-average support for the firebase ecosystem (e.g. NextJS for frontend/apis, react native for mobile). However, it doesn't mean you can't use .NET with firebase.
  • Firebase Admin SDK w/ Stripe hooks on Vercel Next JS: 16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential
    1 project | /r/Firebase | 3 Nov 2022
    Without looking too far into errors other people had, it seemed like it had to do with syncing clocks (what a strange error) - the problem could go away if you reissue a different service account key from the console or sync your local clock(???)
  • Firebase Authentication for Cloudflare workers
    1 project | dev.to | 26 Oct 2022
    The one thing I was missing for my latest experiment was a reliable way to authenticate users and allow them access to their profile. There are other services that can be easily integrated but they can get quite expensive. Firebase on the other hand has a good free quota; perfect for this use case so I started by installing the Firebase Admin SDK. But alas the admin sdk has some dependencies on nodejs which are not included in the workers/functions runtime. 🤦‍♂️
  • error: socket hang up on firebase functions
    2 projects | /r/learnjavascript | 24 Oct 2022

reactfire

Posts with mentions or reviews of reactfire. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-12.
  • Angular Fire equivalent for React?
    3 projects | /r/reactjs | 12 Jul 2023
    ReactFire
  • How can I use Firebase to monitor live circuit tripping in a train IoT project?
    1 project | /r/Firebase | 13 Apr 2023
  • Can't call Google Cloud Function from a react app. I get googleauth.js:17 Uncaught Error: Cannot find module 'child_process' in my browser's console
    3 projects | /r/googlecloud | 9 Dec 2022
    Are you using Firebase? If not, you probably should. You can call functions (with Auth) from your react app. There's a framework you can use to help: https://github.com/FirebaseExtended/reactfire
  • Convex vs. Firebase
    7 projects | news.ycombinator.com | 21 Jun 2022
    I was an early developer at Firebase. I think we made Firebase so easy to use and never spoke on about the technicals that the whole software ecosystem now underestimates the complexity involved. I see various Firebase competitors asserting various "mistakes it makes" without really understanding what it delivers, which is understandable because we never marketed it like that because we spoke only about how it can help you build easier.

    The idea that n queries instead of a join is slow is not as true as you would think. Firestore supports streaming and pipelines at its core, and can reuse cache across operations. At the end of the day, the data goes over a narrow network channel. If you can saturate the channel, and don't leave any gaps, what's the performance difference if the data comes from a single query or many that are back-to-back. The data is transferred to the client either way. Both Firebase databases are pipelined, so this "many round trip" argument is not a decent argument if the client can issue the queries without waiting for responses (such as the code in this article).

    The other is consistency levels and correctness. I constantly see devs call Firebase an eventually consistent database which is wrong, its causally consistent [1], and this makes a huge difference when trying to do OLTP. The offline capabilities are built on the consistency primitives, and it's the only way it can work. So while this convex article is banging on about "End-to-End Correctness Philosophy", they miss the most important quality of correctness, and if they are not careful, will miss the required engineering, and then be unable to deliver an offline cache over real-time streams. I see this playing out with Supabase, I warned them personally before they got into YCombinator that what they were building was not causally consistent. Since then, they have had to rearchitect their real-time features after shipping them. (I have not reviewed their latest design yet so I have no idea whether they have it right yet).

    Many things sucked about Firebase. The bespoke security rules and the lack of views. So Convex is on the money shipping functions on the backend. I think Supabase is shipping competitors' mistakes with row-level security language. Personally, I think Firebase's mistakes can be fixed with the addition of an open-source Firebase server [1], as the clients are already open source and the mistakes are all to do with just the server. The real tech was always in the clients anyway (offline cache, connection management, operation queues).

    It will be interesting to see if building expressly for React is a good idea. Firebase shipped many adapters, like https://github.com/FirebaseExtended/reactfire, using the "thin-waist" principle of not over-fitting. But Javascript technology moved from callbacks to async while Firebase was in the field, so the current API is not now idiomatic. But convex is setting itself for even more ecosystem fragility, what if React changes API or falls out of favor? This is a big risk! I hope they can roll with whatever happens!

    [1] https://observablehq.com/@tomlarkworthy/redis-backend-1

  • Do you have to use an ODM for firestore?
    2 projects | /r/Firebase | 25 May 2022
    Since you mentioned you're also using React, we have a React specific library (ReactFire) that also helps out quite a bit.
  • Get current user firestore database
    1 project | /r/Firebase | 23 May 2022
    Use ReactFire! It's our official library for React and Firebase. It has a bunch of useful hooks that probably handle most of the actions you are looking to do.
  • Intro To ReactFire v4 - Login, Logout Create Account And Protected Routes
    2 projects | dev.to | 1 Mar 2022
    This is a quick walkthrough of a code example using ReactFire v4 in an application. The application supports login, logout, create an account, and protected routes. We also walk through two approaches for protecting routes since the AuthCheck component that existed in v3 no longer exists in v4 of ReactFire.
  • Is state management (React Context, Redux) really needed for Firebase?
    1 project | /r/Firebase | 31 Jan 2022
    FWIW check out ReactFire, it gives you hooks and context for Firebase. Will likely feel more natural than using the vanilla platform-agnostic SDK.
  • React Query + Firestore = ❤️
    1 project | /r/Firebase | 5 Sep 2021
    3 projects | /r/reactnative | 5 Sep 2021
    reactfire

What are some alternatives?

When comparing firebase-admin-node and reactfire you can also consider the following projects:

firebase-js-sdk - Firebase Javascript SDK

react-query-firebase - React Query hooks for managing asynchronous operations with Firebase. Supports Authentication, Analytics, Firestore & Realtime Database.

firebase-cpp-sdk - Firebase C++ SDK

use-pagination-firestore - 🔥 React hook for non-cumulative pagination of Firebase Firestore collections

Next.js - The React Framework

strapi-connector-firestore - Strapi database connector for Firestore database on Google Cloud Platform.

nodejs-auth - Implementation of node.js authentication with social login ✌️, user impersonation 💅, and no passport.js required 💁

rowy - Low-code backend platform. Manage database on spreadsheet-like UI and build cloud functions workflows in JS/TS, all in your browser.

firebase-admin-python - Firebase Admin Python SDK

react-famous - React bridge to Famo.us

Django - The Web framework for perfectionists with deadlines.

Redux Slim Async - :alien: A Redux middleware to ease the pain of tracking the status of an async action