My project is split into 2 folders
client and server
in the client folder the usual
react-create-app package.json
in sever folder
package.json with trace script
scripts: {
start: node app.js
server: nodemon app.js
}
how can I run the script through npm start to run both the backend and the frontend at the same time
client
-app.js
-package.json
server
-app.js
-package.json
I found a solution that you can start from the server folder as follows
dev: "concurently" npm run server "" npm run client "
but how to start if package.json is in different folders