Skip to content

Instantly share code, notes, and snippets.

@OndeVai
Last active November 7, 2018 16:57
Show Gist options
  • Save OndeVai/db7c8cf625acc14c098b1262b13702f8 to your computer and use it in GitHub Desktop.
Save OndeVai/db7c8cf625acc14c098b1262b13702f8 to your computer and use it in GitHub Desktop.
Install
--Mac: use homebrew
Running
--1: Run the server (terminal) - mongod --dbpath /Users/[some path] (dbpath needed for Mac becuase can't access /data/be)
Node Client
--for an API you have the choice over Mongoose (a more complex but structured "ORM") or mongodb native (more like the CLI)
--https://www.npmjs.com/package/mongoose
--https://www.npmjs.com/package/mongodb
Docker
--https://hub.docker.com/_/mongo/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment