Go to MongoDB.com and click on Try Free
Complete the Sign up form and click on Create your Access account. You will receive an e-mail verification. Once verified, click continue.
Complete the form until you get to the section Deploy your database.
Select M0 - Free
Using the defaults, choose your underlying Cloud Provider and region and then click on Create Deployment
Create MongoDB user e.g. mongo-admin
Click Choose a connection method
Click on Connect to your application > Drivers
Copy connection string to .env
file.
MONGO_URI=mongodb+srv://mongo-admin:<password>@cluster0.q4oeiru.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
This will complete the setup of your MongoDB instance ready for Backplane API Server to connect to.
info
Copy the connection string to your .env
file and ensure that the environment variable is called MONGO_URI
MONGO_URI=mongodb+srv://mongo-admin:<password>@cluster0.q4oeiru.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
tip Ensure your IP Address is allowed at the MongoDB end for your Development machine.
On the left-hand side menu under SECURITY, click on Network Access and add the respective IP addresses of your Cloud Provider or your Development machine.
For production you’ll need to update this for the Cloud Provider. Example if hosted in Azure Web App, Find Out Web App IP Addresses