-
Install MongoDB Community Edition(It also introduces how to run the MongoDB Service)
-
Install Nodejs and Npm
1.Install the modules
cd (Project path)
npm install
2.Run MongoDB
- port (
3000
) - Data directory path(
mongodb/Data
)
//Mac
mongod --dbpath /Users/chenxiang/code_sample/ShoppingCenter/mongodb/Data --port 3000
3.Run
npm start
If you have any question, please send me an email.
E-mail address : 2251122920@qq.com