- Local time
- 09:04
- Joined
- Oct 5, 2019
- Messages
- 1,185
- Pronouns
- he/him
Hey all,
has anyone of you already played with firebase? Or even created a production app with it?
I've started to play with it and Vue.js yesterday. And I'm in love! š¤©
I was able to create a whole login/registration with a few lines of frontend JS supporting oAuth & email/password. For sure plus my HTML. š
I've registered like 20 times because I couldn't believe it. It even provides a full user management dashboard.
And the best? The auth is the base for access rules to other services like access rules for firestore to prevent document access on server side.
The auth system even allows anonymous registration so the user can test the app without providing anything.
The next I will add will be the real app logic. In my case it will only be one model plus file attachments. So super easy - but exactly that was the reason why I didn't wanted to spin up and maintain a server myself.
Because let's be honest - this would take at least one day only to configure the server, deployment tool and so on.
Not starting how long the auth part takes, even with Laravel which comes with awesome tools like socialite and so on.
For me it was also the first time with Vue/cli, Vue.js itself and a SPA at all.
So I'm definitely not the fastest one! I think a good Vue dev experienced with router, vuex, vuelidator and so on would finish my app in ~1 day by using firebase.
----
If anyone has experience with firebase: do you have some learnings to keep costs low/zero?
Right now I'm on the Spark plan - so if I understood it right they will simply stop answering my requests if my limit is reached.
Because firestore is priced by download traffic I've already read that a local caching layer is pretty important and you shouldn't use the SDK sync if you aren't really sure that you need it and it's worth it.
Some more learnings?