Answer the question
In order to leave comments, you need to log in
What should front and back launch look like?
I have the front and back ready. Do I need to run the front from one console and the back from the other? Or how? I don't understand what this process should look like.
Answer the question
In order to leave comments, you need to log in
look at npm concurrently
https://www.npmjs.com/package/concurrently
I usually add such lines to scripts in package.json and run both at once via npm run dev
"scripts": {
....
"server": "nodemon server.js",
"client": "npm start --prefix client",
"dev": "concurrently \"npm run server\" \"npm run client\""
},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question