E
E
embiid2021-12-21 11:03:45
npm
embiid, 2021-12-21 11:03:45

How to run nodejs and react at the same time?

There are two projects that are in the same folder:
-Folder;
--api;
--client;

I want to run them through api, for example. But I can’t reach the client, I don’t know how to go into its folder and run it.

"backend": "nodemon server.js",
"client": "cd ..; cd ./note-manager && npm start && npm start",
"fullstack": "concurrently -n 'server, client' \"nodemon server.js\" \"npm run client\""

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question