Rewriting a cakephp MVC app using React
I want to remove view folder of my cakephp app(.ctp files) and rewrite it using react.
As a beginner I am facing a few problems:
A recommended way of using react is with webpack.Webpack provides it's own server.How can I use webpack(http://localhost:8000) along side nginx( http://my_local_app ).
Do I need to do a webpack build everytime I make change.This is very time consuming.
How can I use api of the app( http://my_local_app/users/getinfo ).There is no token based authentication.I want to use cakephp sessions and have no cross-origin issue while development.