back

by pier25·10y ago·view on hn ↗
So how would one address server side logic?

Like for example doing something with the data before sending it to the client?

1 comments
I think this is the biggest issue with firebase that I can't find an answer to. It seems everyone is ok with just doing everything on the client side. Schema changes, business logic, etc.
From what I've seen, all backend duties are implemented in a server acting as another client to Firebase. Usually a Node server since Firebase has provided a JS SDK from the start, but I've seen implementations in all major languages.

You either implement some cron task in that server that periodically makes stuff with Firebase, or you use an endpoint in Firebase and use it a task queue for the server.

I'd would be great if someone with more experience could provide more info on how these backend duties are performed.

Edit: see this for more info https://groups.google.com/forum/#!topic/firebase-talk/r4d5H7...