adv-firestore-functions
Advanced firestore functions for indexing, searching, tags, and counters! (by jdgamble555)
fireblog.io
By jdgamble555
Our great sponsors
adv-firestore-functions | fireblog.io | |
---|---|---|
8 | 3 | |
45 | 6 | |
- | - | |
6.6 | 8.5 | |
almost 2 years ago | over 1 year ago | |
TypeScript | TypeScript | |
- | - |
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.
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.
adv-firestore-functions
Posts with mentions or reviews of adv-firestore-functions.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-26.
-
Firestore Finally Solved the Counter Problem... Almost
I retired my package, adv-firestore-functions, because I could not keep up with it anymore. However, most of the code is still good. I made it easy to use Counters with a colCounter function. There are several problems with this method:
-
A Free Fully Functional Blog in Angular and Firebase
The number one problem with Firestore is hands down the lack of counters. I literally wrote a package to do everything in Firebase Functions, and I learned after 6 months, I hate Firebase Functions. All the code missing from Firestore that takes up your time is relational and counter related. Now I know on the Frontend it is just as bad. However, I wrote some reusable Functions which I have talked about in other posts to make your life a little easier. However, some things are just impossible in Firestore. I seriously hate noSQL in general, but not having counters is terrible. I also wrote some reusable Firestore Rules for counters. Everything is usually dealing with counters.
-
Quick Firestore Frontend Search Index
Based on my relevant search index, I created a simple frontend version you can use in your app.
-
Firestore Many-to-Many: Part 6 - The Final Backend Solution
If each followers_index holds 10,000 users, then we only grab 100 documents for 1 million followers. If you're lucky enough to have 100 million followers, then yes, you would need to create 10,000 documents. That is actually doable in a Firestore function with my Bulk Update Function in theory. The most amount of followers ever recorded on any platform is under 200 million.
-
Firestore Counters - Everything There is to Know!
Method 1: - use my adv-firestore-functions package... one line of code in your firebase function... done.
-
Firestore Many-to-Many: Part 5 - Scalable Arrays
The beauty of this, is it automatically scales. It creates a new index document after 10,000 items (you can set this with max, see the docs). It will automatically remove a product from the index if the product doc is delete from the collection. It automatically adds. I have id sorting and value sorting options that I spoke about in Part 3.
-
Firestore Many-to-Many: Part 2 - array-contains-all
Basically you create your own index using __ between every combination of items in the array. This would give you search options. You could do this on the front end, or on the backend in Firebase Functions. Here I am only covering the frontend, although I may one day add this ability to my adv-firestore-functions package.
-
How to Build a Scalable Follower Feed in Firestore
As the author of adv-firestore-functions, I feel like I have figured out how to hack every problem the Firestore Team refuses to solve internally, except how to connect the relational data of a follower feed.
fireblog.io
Posts with mentions or reviews of fireblog.io.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-06.
-
Angular Universal ENV Variables with Webpack and Dotenv
And done. Here is my repository if you need an example.
-
How to Properly Fetch Data in Angular Universal
I personally put this in a service so that it is available everywhere. You could also technically go more platform specific with Angular Material, but not necessary.
-
A Free Fully Functional Blog in Angular and Firebase
So, I've decided to release my source code on github for my Fireblog.io fully functional blog written in Angular, using Firestore as the database, and hosted on Cloud Run.
What are some alternatives?
When comparing adv-firestore-functions and fireblog.io you can also consider the following projects:
firebase-js-sdk - Firebase Javascript SDK
extensions - Source code for official Firebase extensions
extensions - Everything you need to extend Raycast.