W
W
wannacodebetter2021-11-11 12:24:47
PHP
wannacodebetter, 2021-11-11 12:24:47

How to use ReactJS + PHP?

I have no experience with PHP and React, so I don't know how to formulate the question correctly.

The situation is this.
I need to write a project in PHP, where there will be registration and authorization of users, and users will be able to create various posts there.
But to this we still need to add a very simple admin panel written in ReactJS. So that the admin can edit any content that is on the site.

Do I understand correctly that first I need to write a site for ordinary users using PHP, and then separately write an admin panel in React, which will simply communicate with PHP via the API, which is used on a regular site?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ipatiev, 2021-11-11
@Fockker

Correctly.
Only to communicate with PHP via API, you must first write this API in PHP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question