Outline
- Install NodeJS
- Install Git (windows only/mac os x comes with it)
- Create a mLab account
- Download https://git-scm.com/download/mac
- Install the .dmg
- Download https://git-scm.com/download/win
- Run the setup wizard .exe I recommend picking add commands to windows command line so that cmd and git bash have the same functions
- Download https://nodejs.org/dist/v8.11.1/node-v8.11.1.pkg
- Run the setup wizard .pkg file
- Download https://nodejs.org/dist/v8.11.1/node-v8.11.1-x64.msi or https://nodejs.org/dist/v8.11.1/node-v8.11.1-x86.msi
- Run the setup wizard .exe file
- Head over to mLab and signup/login
- Create a new MongoDB deployment
- Pick Amazon Web Services and Free(Sandbox)
- Give your db a name, example
fsjs-db1
- Click the new deployment (give it a second)
- Create a new collection or do it via code
- At the top you will see the connection settings, example:
To connect using a driver via the standard MongoDB URI (what's this?):
mongodb://<dbuser>:<dbpassword>@ds1111111.mlab.com:17360/fsjs-db1
This will go into your node project!
See it was as Easy as ABC123