You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: getting-started-with-firebase-2019-edition/getting-started-with-firebase-2019-edition.md
+37-4Lines changed: 37 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Use Firebase when you need to ship yesterday.
22
22
23
23
You may have heard that Firebase is just for startups or prototypes, or that it fails at scale or gets super expensive. Well... things have changed. A lot.
24
24
25
-
## Firebase teaches you to use a distributed architecture
25
+
## Firebase teaches front-end devs to use a distributed architecture
26
26
27
27
Firebase enables a distributed architecture.
28
28
@@ -64,7 +64,7 @@ So get over your SQL-induced anxiety and duplicate data throughout your Firebase
64
64
65
65
## The Evil Twin Databases
66
66
67
-
Firebase has two databases,
67
+
Firebase now has two databases,
68
68
69
69
1. the [Realtime Database](https://firebase.google.com/docs/database/), also known as classic Firebase or the RTDB, and
@@ -75,18 +75,51 @@ Firestore is better for longer-lived, more structured data. I use Firestore for
75
75
76
76
I use Firestore for user profiles, chat logs, purchase records... anything that I need to stick around for a while.
77
77
78
+
## Firebase is cheap and much, much faster
78
79
80
+
The [Iron Triangle of Project Management](https://en.wikipedia.org/wiki/Project_management_triangle) states that all projects are compromises between **cost**, **scope** and **time**.
79
81
82
+
Firebase is the lowest-cost and fastest development experience of which I'm aware.
80
83
84
+
I bootstrap projects on a regular basis. Most of my projects are solo projects. I'm the developer, designer and marketer. I'm incredibly time-constrained, so I use Firebase to enable me to achieve greater scope.
81
85
82
-
## Firebase is cheap and much, much faster
86
+
I've built the following projects entirely on my own with Firebase:
87
+
88
+
-[calligraphy.org](https://www.calligraphy.org/): Online teaching platform integrated with Shopify
-[pixels.chrisesplin.com](https://pixels.chrisesplin.com/): Chrome extension for UI development
91
+
-[bunches.chrisesplin.com](https://bunches.chrisesplin.com/): Multi-player card game
92
+
93
+
Calligraphy.org powers my wife's business. It took me four months to write it in the mornings before my full-time job. It would have taken twice as long without Firebase.
94
+
95
+
The other projects took between 75 and 200 hours each. Again, I finished them in my spare time while relying heavily on Firebase.
96
+
97
+
Firebase has spoiled me. I haven't spun up a new production server in two years. And these aren't just rapid prototypes. They're fully-functional, scalable and used by thousands of customers.
98
+
99
+
## Firebase includes *nearly* everything I need to build small- to medium-sized apps
83
100
101
+
The pillars of Firebase's web offering are
84
102
103
+
- the Realtime Database (json database),
104
+
- Cloud Firestore (document/collection database),
105
+
- Cloud Functions for Firebase (serverless functions),
106
+
- Firebase Storage (file/blob storage), and
107
+
- Firebase Hosting (static file hosting).
85
108
86
-
## Firebase includes everything you need to build small- to medium-sized apps
109
+
These five pillars can support an enormous range of apps.
110
+
111
+
Realistically, you'll need to "cheat" on Firebase a bit for larger apps. I use GCP for a few things that don't fit neatly within the Firebase offering. I also use [Algolia](https://www.algolia.com/) to power my search.
112
+
113
+
The funny thing is that Algolia is the most expensive part of my stack at $35/month. The Firebase databases are optimized for everything **except search**. This is an important caveat to recognize early. Searching Firestore collections or anything in the Realtime Database is extremely limited, and for strong architectural reasons. I don't expect to ever see Firebase support search.
114
+
115
+
I primarily use GCP to manage the DNS for my domains. But I've also run some Cloud Compute instances for build processes.
116
+
117
+
And I use [GitLab.com](https://gitlab.com/deltaepsilon) for CI/CD purposes... so I guess I step out on Firebase a couple of times on each project :)
0 commit comments