nodejs + mongodb this is the backend project that supplies APIs for frontend project: https://github.com/vnhanh/react-native-shopping
Run
- Start the mongodb: mongod --dbpath /Users/macbookpro/workplace/common/mongodb
- Run the server: node .
Fix the issue:
- If port of mongodb already in use, run following commands: sudo lsof -iTCP -sTCP:LISTEN -n -P sudo kill <mongo_command_pid>