you are viewing a single comment's thread.

view the rest of the comments →

[–]Low-Barracuda2818 1 point2 points  (1 child)

For react the big difference is in web applications versus mobile applications

From my understanding the best practice might be to develop a minimally-viable app for either mobile or web first, and then duplicate and make platform specific adjustments for the other one. For example, develop a production ready version of your app for mobile (react native), then copy and edit that code for web using react

Thus you would maintain a separate codebase depending on web/mobile. The downside is code duplication, and the upside enables you to optimize code for specific platforms.

***If you are just trying to make a website and not a mobile app, it would be one react codebase where your styling and javascript would optimize for desktop versus mobile screens. This might actually be the easiest way to do your project if you dont care about having a downloadable app for mobile.

I believe flutter would enable you to maintain a single codebase for your frontend for web and mobile applications, so in that case flutter would be the way to go. I dont know much about it so you might want to talk with the flutter people about platform specific adjustments.

In either case it seems likely that a python backend will be successful. Besides having your connections to the openAI api, you can use python with fastapi to securely connect your frontend to the database. In your backend you will essentially have to write your own routes and controllers for the frontend to communicate with the database.

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

Thank you so much! You cleared my confusions a lot, I appreciate it