reactjslaravel

How to run React project


I have a project in React. It is cloned from Git-lab. I consist of two separate aplications: backend and frontend. Question is simple. How to run it? It should contain Laravel implementation but I dont see anythind inside. Is there any npm commant I need to run? I think npm create-react-app is not the right command of exisiting aplication. I am sorry for this trivial question. This is my first contact with React.


Solution

  • If you see package-lock.json file, try npm install and npm start. If there is yarn.lock file, try yarn install and yarn start. You need to run "install" command only once (and after change of package.json).