r/FlutterBeginner • • 28d ago

Flutter Beginners: Firebase, Supabase, or Node.js for Backend?

Hello, everyone! 👋

I have started learning Flutter. At this initial stage, building a backend using Node.js and APIs feels a bit challenging.

So, I’d like to know: what is an easier way for a beginner Flutter developer to handle the backend? Would it be a good idea to start with Firebase or Supabase?

I look forward to advice from those with more experience. Thank you! ❤️

9 Upvotes

11 comments sorted by

2

u/Confident-Cellist-25 28d ago

For a complete beginner, Firebase probably has more tutorials out there that you could learn from, but I really like Supabase personally. The flutter package is pretty good and their pricing (if you even get that far) is straightforward with no surprises. I would not try to roll my own. There’s too much that can go wrong

2

u/hellozunayed 28d ago

Ohh, many many thanks. I really appreciate it.

2

u/Dismal-Boss6421 24d ago • Heartwarming

In this case you can use firebase first when you have done with firebase then jump into api for that you don't need to learn node js becuase alredy have free api where from yo can learn how to call api just search on google Thank you

2

u/Sea_Improvement_423 13d ago

Node.js if you’re a beginner it will help you a ton in the long run trust me

1

u/hellozunayed 12d ago

Thank you so much

1

u/Apprehensive-Fan8999 25d ago

Depends on your goals.

Completely agree with the others that Firebase is the easiest and fastest. But, and this is important, it is nearly impossible to make bulletproof write rules. The read rules are dirt simple. But if the app or user can direct write, you can have abuse you never planned for and the costs that go with such a thing.

I personally recommend direct reads from Firebase and an API backend for writes. Node is definitely popular. As is Python and FastAPI. I personally prefer Dart and Shelf though. I can share logic and data models between the client and backend so the client can validate while the backend guarantees confirmation using the exact same mechanisms.

The other reason I prefer Dart is simply that I find the language clean. For an API you can native deploy to GCP cloud functions or use a container with almost nothing but your compiled binary. The lack of a development runtime (required by both Node and Python) in your server GREATLY reduces the possible attack vectors available; something I very much appreciate in the age of AI attackers.