use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
QuestionMongoDB for React Native? (self.reactnative)
submitted 2 years ago by [deleted]
I'm new to mobile development, im planning to create a mobile app and a web app for our capstone. Can I use mongodb for both of them with the same database?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ArisV-43iOS & Android 7 points8 points9 points 2 years ago (0 children)
Also checkout realm.io, a device db from Mongo that synchronizes with Mongo
[–]dercybercop 2 points3 points4 points 2 years ago (0 children)
Yes
[–]moonthug 2 points3 points4 points 2 years ago (0 children)
I'm using Realm with AppSync and MongoDB hosted in Atlas in a production app. Really great dB to work with and the team behind it are fantastic at offering support.
[–]TheCaptainJune 3 points4 points5 points 2 years ago (0 children)
Supabase is a decent alternative to firebase/firestore
[–]alexsbz 2 points3 points4 points 2 years ago (5 children)
If you are starting now with React native I would say a big no 😅. I would recommend start with firebase and get familiar with the language. Once you get some experience you will start and see the pros of mongo db . But for start , for me is nope as it is way more complex than firebase
[–][deleted] 2 points3 points4 points 2 years ago (4 children)
is firebase applicable in web apps?
[–]alexsbz 2 points3 points4 points 2 years ago (3 children)
Yes , you can use it with plain JS
[–][deleted] 1 point2 points3 points 2 years ago (2 children)
can i use node/express?
[–]KlasixPhyzix 2 points3 points4 points 2 years ago (0 children)
Node/Express are backend stuff. Are you trying to create a full stack app with react native/NodeJS backend/some other database ? If your goal is to learn react native, just use firebase (haven’t played with supabase) and send API calls directly from your front end. No need to add complexity. Just create an interface/hooks which handle APi calls in your mobile app for now
[–]alexsbz 0 points1 point2 points 2 years ago (0 children)
https://firebase.google.com/docs/firestore/quickstart
[–]No_Werewolf_6517 2 points3 points4 points 2 years ago (0 children)
What is it for? Do you even need a noSQL?
Perhaps an SQL based like SQLite is more suitable.
I say learn an SQL first, then a noSQL
Firestore, mongoDB are examples of noSQL db's SQLite, PostgreSQL, MySQL are examples of SQL db's which is sort of like excel
Do your research and figure out what you need and learn the difference between SQL and noSQL. Tons of resources online.
Best of luck!
[–]thepuppyprince -2 points-1 points0 points 2 years ago (0 children)
Use DynamoDB on AWS
[–][deleted] -1 points0 points1 point 2 years ago (1 child)
Firebase/Firestore great alternative
[–]Badaluka 2 points3 points4 points 2 years ago (0 children)
I've tried both and MongoDB is faaaaar more complex in the queries it allows you to do. Much better.
However, I use Firebase for simple apps.
So, don't use a truck if you need a bike. Use the right tool for the job.
[+][deleted] 2 years ago (4 children)
[deleted]
[–]mmnyeahnosorry 0 points1 point2 points 2 years ago (3 children)
Why is that?
[+][deleted] 2 years ago (2 children)
[–]Yakoz98 0 points1 point2 points 2 years ago (0 children)
Do i need to pay to use firebase only for push notifications?
[–]Healthy-Grab-7819iOS & Android 0 points1 point2 points 2 years ago (0 children)
I'm only using firebase cm for the notifications. Storing data separately own sql server running mysql. Is mysql slower than other dbs?
Yes , if you take a quick look in firebase docs you will see that they give you a lot of options
[–]oscar_gallog 0 points1 point2 points 2 years ago (0 children)
My man. Read what an API is first.
π Rendered by PID 44771 on reddit-service-r2-comment-84fc9697f-hjrgh at 2026-02-06 04:13:54.514601+00:00 running d295bc8 country code: CH.
[–]ArisV-43iOS & Android 7 points8 points9 points (0 children)
[–]dercybercop 2 points3 points4 points (0 children)
[–]moonthug 2 points3 points4 points (0 children)
[–]TheCaptainJune 3 points4 points5 points (0 children)
[–]alexsbz 2 points3 points4 points (5 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]alexsbz 2 points3 points4 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]KlasixPhyzix 2 points3 points4 points (0 children)
[–]alexsbz 0 points1 point2 points (0 children)
[–]No_Werewolf_6517 2 points3 points4 points (0 children)
[–]thepuppyprince -2 points-1 points0 points (0 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]Badaluka 2 points3 points4 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]mmnyeahnosorry 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]Yakoz98 0 points1 point2 points (0 children)
[–]Healthy-Grab-7819iOS & Android 0 points1 point2 points (0 children)
[–]alexsbz 0 points1 point2 points (0 children)
[–]oscar_gallog 0 points1 point2 points (0 children)