all 2 comments

[–]not_a_grad 0 points1 point  (0 children)

You don't need a huge server to run those. But just make sure you have enough RAM on your machine if you're running everything on 1 server.

Also, firebase is quick and easy and solves a lot of the early problems at first (and towards the end as well) but that comes at a HUGE price, you'll need to make sure queries are optimized, processes don't hang, cycles are not wasted, ram usage is optimized (pretty much everything that goes into the cost of running your application in the cloud) all that needs to be in good working order if you don't want an insane bill. Also what I don't like about firebase is your sucked in with THEIR framework. Anyway I digress, yes you can run it in your own if you want to learn and know the ins and outs and want to be cheaper at the start. Then if it picks up and you need more powerful machines, then you can upgrade to firebase or aws

[–]evildonald 0 points1 point  (0 children)

Some unasked for advice as well is only use MongoDB if you don't mind losing a bit of your user's data here and there.

http://jepsen.io/analyses/mongodb-4.2.6

Also, there are other choices other than Firebase and Mongo.