firebase-tools
firebase-admin-node
firebase-tools | firebase-admin-node | |
---|---|---|
34 | 38 | |
3,936 | 1,578 | |
0.7% | 1.0% | |
9.7 | 8.9 | |
6 days ago | 9 days ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
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-tools
-
The State of Angular SSR Deployment in 2024
And it seems to deploy on first try, but then I got a loop error. Turns out after posting a bug, and getting sent to GitHub, this is a known issue when deploying to Cloud Functions. The fix is to edit your server.ts file, and don't use the process.env['PORT'] variable, as it apparently is already in use.
-
Features you want to see in firebase in upcoming version.
See issue.
-
How to user Production server when deploying Firebase Cloud Functions?
No, just JS. Have you tried this?
-
Deploy Angular Universal To Firebase Cloud Functions
In this example, I am using NX monorepo. I have my Angular Universal as one application and cloud functions as another application. If you donβt use NX or even some time has passed since publishing this blog post, you may want to visit Integrate web frameworks with Hosting from Firebase, however, there is an existing issue on Unable to detect the web framework in use when using angular app within nx monorepo.
-
Firebase hosting, need guidance
Support for Sveltekit SSR has been added https://github.com/firebase/firebase-tools/issues/5158
-
Firebase Cloud Functions V2: The request was not authorized to invoke this service
// https://github.com/firebase/firebase-tools/issues/1532 if (admin.apps.length === 0) { admin.initializeApp() } export const deleteAllUserJobs = functions.https.onCall(async (context: functions.https.CallableRequest) => { const uid = context.auth?.uid if (uid === undefined) { throw new functions.https.HttpsError("unauthenticated", "You need to be authenticated to perform this action") } const firestore = admin.firestore() const collectionRef = firestore.collection(`/users/${uid}/jobs`) const collection = await collectionRef.get() logger.debug(`Deleting ${collection.docs.length} docs at "/users/${uid}/jobs"`) // transaction version await firestore.runTransaction(async (transaction) => { for (const doc of collection.docs) { transaction.delete(firestore.doc(`/users/${uid}/jobs/${doc.id}`)) } }) logger.debug(`Deleted ${collection.docs.length} docs at "/users/${uid}/jobs"`) return {"success": true} })
-
NextJS api endpoint with Firebase hosting
This should be supported via our built-in NextJS support https://firebase.google.com/docs/hosting/frameworks/nextjs if you have troubles with this functionality, please file a bug over on github https://github.com/firebase/firebase-tools
-
Firebase Hosting & Next.js - do they work together with the latest features in Next.js?
Now that app directory is stable, we support it. Keep an eye on the firebase-tools changelog, we've actively working on things. https://github.com/firebase/firebase-tools/releases
-
Deploy Next.js to Firebase Hosting
The Firebase CLI, check out the release notes
- Cloud functions suddenly won't deploy
firebase-admin-node
-
The State of Angular SSR Deployment in 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).
-
transfering image from from app to api
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?
-
Migrating from Supabase
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
-
What is the best stack to use with firebase?
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
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
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
What are some alternatives?
action-hosting-deploy - Automatically deploy shareable previews for your Firebase Hosting sites
firebase-js-sdk - Firebase Javascript SDK
vuefire - π₯ Firebase bindings for Vue.js
firebase-cpp-sdk - Firebase C++ SDK
Appwrite - Build like a team of hundreds_
Next.js - The React Framework
realtime - Broadcast, Presence, and Postgres Changes via WebSockets
nodejs-auth - Implementation of node.js authentication with social login βοΈ, user impersonation π , and no passport.js required π
wrangler-legacy - π€ Home to Wrangler v1 (deprecated)
firebase-admin-python - Firebase Admin Python SDK
bubblewrap - Low-level unprivileged sandboxing tool used by Flatpak and similar projects
reactfire - Hooks, Context Providers, and Components that make it easy to interact with Firebase.