"scripts": {
"start": "node index.js",
"backend": "nodemon index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"body-parser": "^1.20.2",
"express": "^4.18.2",
"mongoose": "^8.0.0"
},
"devDependencies": {
"nodemon": "^3.0.1"
}
따라서 서버를 실행시킬 때 터미널에 npm run start 였는데, npm run backend가 됨