how to use mongodb mac code example
Example 1: brew mongo start
brew services start [email protected]
Example 2: run MongoDB manually as a background process macos
mongod --config /usr/local/etc/mongod.conf --fork
brew services start [email protected]
mongod --config /usr/local/etc/mongod.conf --fork