B
B
bonzoSPb2018-08-03 17:59:06
React
bonzoSPb, 2018-08-03 17:59:06

Express or Laravel for React?

I am writing an app in React. It is required to work with data from the database and 1s_ki, authorize / register users and delimit their roles. What is better / faster / more relevant / easier to write rest api - Laravel or Express? Or maybe even a meteor?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2018-08-03
@OnYourLips

Judging by the question, you do not know any of these technologies, otherwise this question would not have been raised. Are you sure you want to do both backend and frontend? Such a path is extremely suboptimal in terms of reaching the next level of experience.
If the answer is yes, then I will recommend Express, simply because it is simple and there is a common ecosystem, as a result, the knowledge gained during development will not be lost.
However, to the question "help a beginner backender decide on the first stack, I won't look towards the frontend" I would advise you to learn Laravel.

E
Eugene, 2018-08-05
Hz @joniks

It is better to use express.js (or another node.js framework like koa.js, adonis.js, etc.), because it uses the same programming language and, accordingly, the same concepts (asynchrony, etc.), and sometimes the same libraries. In addition, if you need server-side rendering of what React will produce, you can’t do without Node.js.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question