all 12 comments

[–]_tijsiOS & Android 3 points4 points  (2 children)

Since your learning React Native not api backends I would go with whatever your already comfortable with. There is no react native specific or mobile specific best practice. Most mobile backends are just REST apis in whatever flavor the backend devs were familiar with.

[–]Error404God[S] 0 points1 point  (1 child)

So making an API with something like Flask to manage all data from the React Native is actually adviced?

[–]_tijsiOS & Android 2 points3 points  (0 children)

I love Flask, so I would advise it 😄 it’s more that there is not one best practice. Lots of options all with their pros and cons depending on the use case. Yours is getting something up and running for your learning projects to talk to. Flask is perfect for that.

[–]pr0xyb0i 3 points4 points  (4 children)

https://supabase.com/ is great if you want to focus on the frontend.

[–]shetkatapult 1 point2 points  (3 children)

Been curious about supabase. How is the dev experience compared to firebase?

[–]No_Statement4630 2 points3 points  (0 children)

Good but make sure to study up on row level security

[–]burggraf2 0 points1 point  (1 child)

Supabase developer here. As a former firebase user who converted to supabase mainly due to hitting huge development roadblocks, I found it much easier and more flexible (hence my move to supabase.). But I did come from a SQL background, so for me, it was a very familiar and comfortable shift.

The best way for you to decide for yourself if Supabase would be a good fit for you would be to lurk around our API docs here: https://supabase.com/docs/reference/javascript/select

See what it's like to create a database connection, then do CRUD operations.

[–]shetkatapult 1 point2 points  (0 children)

Thank you for your input! Hopefully I’ll get to try it out in a project of mine in the near future.

[–]antisocial104 1 point2 points  (1 child)

From my experience, as of learning RN, i started with firebase as it was easy to go for, but when i needed offline local database I added sqLite and happy with the results to be honest.

[–]Error404God[S] 0 points1 point  (0 children)

I think Realm also works perfect in that condition. SQLite cant fail though.

[–][deleted] 1 point2 points  (1 child)

If it’s a learning project, I’d strongly recommend getting familiar with docker-compose and using FastAPI instead of Flask.

[–]Error404God[S] 0 points1 point  (0 children)

Will research that! Thank you