"start": "node backend/server",
"server": "nodemon backend/server",
"client": "yarn --cwd frontend start",
"dev": "concurrently "yarn server" "yarn client"",
"data:import": "node backend/seeder",
"data:destroy": "node backend/seeder -d"
Concurrently is a package which can run multiple npm scripts simultaneously.
"start": "node backend/server",
"server": "nodemon backend/server",
"client": "npm start --prefix frontend",
"dev": "concurrently "npm run server" "npm run client"",
"data:import": "node backend/seeder",
"data:destroy": "node backend/seeder -d",