Choosing the Right Backend for a React Native App

April 30, 2025 4 answers
Asked by ~morning attendance!
I'm building a React Native application and I'm trying to figure out the best backend solution for handling server-side aspects like authentication, database management, and storage. We want a setup that allows separate backend accounts for each customer. Should I go for a traditional setup using Express.js, or is a serverless architecture more suitable for our needs? I'm open to any recommendations for tech stacks as well!

Answers

!next stop downtown
Just a heads-upโ€”relying solely on a database might not cover all your backend needs. If you're into TypeScript, NestJS is a great option; it supports OAuth2 with Passport. Plus, for React Native, having a proper API can be crucial. A serverless setup might be more suited for web apps like Next.js, not necessarily fitting for your use case.
Reply to this answer
450g semolina
Firebase could be a fantastic choice here! With Firestore, you'll get real-time data capabilities and solid offline support. Plus, Firebase Authentication integrates seamlessly, and for backend tasks, you can utilize Firebase Functions, which are like AWS Lambda functions.
Reply to this answer
seltzer
Have you considered using Pocketbase with Golang? It's pretty flexible but just keep in mind that it's not fully production-ready yet.
Reply to this answer
taxon.genus7
You might want to look into Supabase! It's pretty much a one-stop shop and has good documentation specifically for React Native usage.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions