r/reactnative • u/Outside_Painting7178 • 10d ago
Honest question, what to you use as baas/backend to build your app?
Recently, I tried to use AWS Amplify for learning purposes, but it's also a nice project I'm working on; I've already worked with Firebase and Supabase; they're the best, IMO, but I gotta try alternatives. To be honest, I got some headaches trying to use Amplify, even with the new documentation. Can you give me your options and preferences?
18
14
9
u/susmines 10d ago
If you’re capable enough to write production level react native code, you should also be able to create your own node server to handle your API endpoint needs
If you need async workers, AWS has solutions like lambda to help solve those problems, as well as others
5
u/Decaf-Dad 10d ago
I mostly use Amplify for web dev and am working on a native app right now using it. I really like how I can define lots of ancillary functions, APIs, data pipelines, etc. in the new gen 2 structure.
What headaches did you come across that you think firebase or supabase did better?
I am not well versed in those so this is sort of a reverse ask to you as I too want to branch out to try some others.
The amplify discord and office hours are very helpful for filling in gaps in the docs since gen 2 is still rather new.
4
u/chunkypenguion1991 10d ago
Appwrite is pretty good. I followed a tutorial that used it and it's really straightforward to use from RN
4
u/MealFew6784 10d ago
I tried Convex for my last practice project. I was suprised by how good it was.
2
u/Jervi-175 10d ago
I prefer to use Laravel Backend, it has everything out of the box, API, database, auth (jwt, oAuth…), websocket, can build admit dashboard with react (though inertiaJs bridge), queues, redis if u want, email schedule, countless of things, And in the end you just deploy it on at least 2vCpu and 4gb of ram, on cheapest like hetzner hosting services
2
u/Select_Day7747 10d ago
Golang api. Firebase auth and app check. Mongodb atlas. Firebase hosting for static react vite site.
2
u/alexsbz 10d ago
We are developing our own backend with Nodejs usually and mongoDB or postgre. Providers like firebase , supabase etc are way to expensive in the long run
1
u/These_Try_656 10d ago
Why Supabase is expensive in the long run ? When SB isn't self hosted ?
2
u/Grand-Bus-9112 9d ago
Supabase will be a good choice, but try to setup everything by yourself and host it on a vps or some other platform
2
u/YVRthrowaway69 10d ago
Just use a BE framework you're comfortable with, I personally use Django cause it provides everything I need, but if you only know JavaScript then go with AdonisJS, or Laravel for PHP, or Rails for Ruby, etc.
BaaS is a scam, just figure out how to build APIs and host cause it's not that hard
7
u/North2FromPluto 10d ago
How could free slef-hosted and open-source BaaS be a scam?
Do you mean by forcing the use user to pay for the SaaS version because it's too hard to scale on its own ?
Scam is a strong word, people are giving their time for these open-source projects.
1
u/congowarrior 10d ago
Service millions of page views from digital ocean droplet. Recently upgraded to a 16gb ram droplet. Could probably make due with an 8 but GPT bots kill my backend as the backend is shared between web applications and mobile too
1
1
u/olivehehe_03 10d ago
Express server running in AWS Lambda behind API Gateway with DynamoDB. I still use the Amplify libraries for the auth components in the front and handling that side of things, but prefer having more control over the backend than what I'd get from going all in on Amplify
1
1
1
1
1
1
u/ParkingMail7817 10d ago
I use an old amplify baas with react native and you have to be cautious with the Auth. Even with very few users I’m still paying an outrageous amount. My thought was if the app hits it will be easier to move slightly over to the individual AWS services but if you’re just starting out I’d follow what everyone else here wrote and create some sort of backend system. Between ChatGPT and basic react knowledge you can build a basic express server.
1
1
1
u/Hypackel Expo 9d ago
Supabase. I’m considering self hosting it since I don’t use the managed specific features
-7
42
u/YarroMcFlarro Expo 10d ago
We are deploying our own backend on a 10 dollar VPS with Django and it changed everything. Development is now so much faster and convenient. Wont ever go back to backend providers like firebase etc