API DesignUsing express and mongodbSteps to run the applicationStart mongodbRun yarn start This starts the APIRunning mongodb local to this projectCreate a db directory in this project.Change directory to that cd dbRun command mongod --dbpath .This starts the mongodb within the db directoryMisc commandsCheck if mongo is running ps aux | grep -v grep | grep mongodInstall mongodb community version using brew i.e brew install mongodb-communityStop mongodb community version if started globally brew services stop mongodb-communityStart mongodb community version brew services start mongodb-community