Creating a MongoDB database
Tip
For simplicity and compatibility, we recommend using mLab with the Free plan. If you intend to have a lot of traffic you can also setup a dedicated database
[Option 1] Creating an mLab database¶
- Head over to mLab and create an account
Make sure to verify your email, if you don't then it won't allow you to create a database
- Click on Create new in the upper right corner
-
Select Sandbox and then click Continue
New deployment
-
Select your preferred region and click Continue
- Enter
injectify
as the database name, click Continue and then Submit order -
Click on your new database and select Users and then Add database user
Add database user
-
Choose a username and password and click Create (make sure
read-only
is left unchecked)
[Option 2] Setting up a dedicated MongoDB database¶
Todo