I
I
Igor Shumilovsky2015-11-18 18:28:21
PHP
Igor Shumilovsky, 2015-11-18 18:28:21

Backend for a react application. What is yours?

Your personal experience with React applications is interesting. Which backend do you prefer to link your application to? What is your stack in this regard? Also interested in the choice of databases (MySql, MongoDB ....)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-11-18
@JiSeven

Which backend do you prefer to link your application to?

Usually REST/HTTP API/RPC hide the backend implementation nuances. So it doesn't matter, as long as the apishka is comfortable.
php, symfony2, postgresql. In any case, the SPA developer should be the last to worry.
never use mongodb as your main repository. Any relational base on simple tasks (and nosql is not needed on simple tasks) will be simpler and more efficient. I say this based on my bitter experience. Store denormalized data aggregations in mongodb to speed up relational fetches. that is, mongodb must have either simple independent data (logs for example) or read-only data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question