A node-blog demo # install dependencies $ npm i # make sure mongodb has been installed $ npm run start kill mongod child process MacOS # find mongod pid $ top # kill process $ kill <pid>