API server using Express and Mongoose to interact with a MongoDB database.
- Install Node Version Manager using Homebrew with
brew install nvm
- Add it to your shell:
echo "source $(brew --prefix nvm)/nvm.sh" >> ~/.bash_profile
- Install Node.js using NVM:
nvm install v6.2.0
- Install npm dependencies:
npm install
- Install MongoDB:
brew install mongodb
- Run MongoDB
- Run the server locally:
npm start
To run our linting process as well as all tests, run: npm test
.