0

Django-React apps

What are your views on an app using react in frontend and django in backend? What could be the advantages and disadvantages?

20th Jan 2020, 2:55 PM
Ajit Kumar
Ajit Kumar - avatar
3 odpowiedzi
+ 1
This really depends on what you are trying to make. React is a powerful framework that can do a lot. But it might be a lot of over head for say a dynamic website or data driven app. If you are making a full featured application in a browser you have picked a very powerful pair.
21st Jan 2020, 7:15 AM
Nathan Johnson
Nathan Johnson - avatar
+ 1
As long as you use HTTPS as your protocol instead of HTTP your in the same boat as everyone else for security. You will want to make sure and follow the recommended development pattern for using cors headers securely.
21st Jan 2020, 4:28 PM
Nathan Johnson
Nathan Johnson - avatar
0
Nathan Johnson Well, what i fear is the security of data when react fetches it from django.. you'll need to use CORS headers and allow data access... So is data transfer totally safe, or am i just panicking?
21st Jan 2020, 7:35 AM
Ajit Kumar
Ajit Kumar - avatar