create-shopify-firebase-app 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -447,24 +447,28 @@ export { dailyCleanup } from "./cleanup";
|
|
|
447
447
|
|
|
448
448
|
Firebase's free tier is generous. Here's what it actually means for a Shopify app:
|
|
449
449
|
|
|
450
|
-
###
|
|
450
|
+
### What each store costs you per day
|
|
451
451
|
|
|
452
|
-
|
|
453
|
-
|--------|---------------|-----------------|------------------|
|
|
454
|
-
| Merchant opens admin dashboard | 5 | 5 | 0 |
|
|
455
|
-
| Webhooks (orders, inventory) | 5 | 5 | 2 |
|
|
456
|
-
| **Total per active store/day** | **~10** | **~10** | **~2** |
|
|
452
|
+
Every time a merchant opens your app or a webhook fires, it uses a small amount of Firebase resources:
|
|
457
453
|
|
|
458
|
-
|
|
454
|
+
| What happens | Function calls | DB reads | DB writes |
|
|
455
|
+
|---|---|---|---|
|
|
456
|
+
| Merchant opens your app in Shopify admin | 5 | 5 | 0 |
|
|
457
|
+
| Webhooks fire (orders, inventory updates) | 5 | 5 | 2 |
|
|
458
|
+
| **Total per store per day** | **~10** | **~10** | **~2** |
|
|
459
459
|
|
|
460
|
-
|
|
461
|
-
|-------------------|-----------|-----------------|
|
|
462
|
-
| Cloud Functions | 2M invocations/month (~66K/day) | **~6,600 daily active stores** |
|
|
463
|
-
| Firestore reads | 50K/day | **~5,000 daily active stores** |
|
|
464
|
-
| Firestore writes | 20K/day | **~10,000 daily active stores** |
|
|
465
|
-
| Hosting bandwidth | 360 MB/day | **~7,000 page loads/day** (CDN-cached after first load) |
|
|
460
|
+
### How many stores you can run for $0/month
|
|
466
461
|
|
|
467
|
-
|
|
462
|
+
Firebase gives you a free quota every day. Divide that by per-store usage:
|
|
463
|
+
|
|
464
|
+
| Firebase resource | Free daily quota | Enough for |
|
|
465
|
+
|---|---|---|
|
|
466
|
+
| Cloud Functions | 66,000 calls/day | **~6,600 stores** |
|
|
467
|
+
| Firestore reads | 50,000 reads/day | **~5,000 stores** |
|
|
468
|
+
| Firestore writes | 20,000 writes/day | **~10,000 stores** |
|
|
469
|
+
| Hosting (HTML/CSS/JS) | 360 MB/day | **~7,000 stores** (cached after first load) |
|
|
470
|
+
|
|
471
|
+
**You hit the free limit at ~5,000 daily active stores.** Firestore reads is the first resource to run out.
|
|
468
472
|
|
|
469
473
|
Not every installed merchant opens your app daily. With a typical 20% daily active rate:
|
|
470
474
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-shopify-firebase-app",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Create Shopify apps powered by Firebase — multi-page dashboard, App Bridge, Polaris components, TypeScript or JavaScript. Deploy for free.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shopify",
|