MongoDB setup
How to setup all the 3rd party services and config api.
Last updated
How to setup all the 3rd party services and config api.
Last updated
This App uses Mongo DB as a backed to read and save data for Menu, Order. In this section, you will find all the steps required for the dashboard connection with your App.
First, you should create a free Mongo DB account and create a new Cluster there. You can visit https://www.mongodb.com/cloud/atlas and signup if you don't have an account earlier, and if you have an account, you can log in by giving your credentials
Once you log in it navigate to the page where you can select the free version as mentioned in the below screenshot
Next click on create cluster as mentioned in the screenshot
Select free version and then click on create cluster as mentioned in the below screenshot.
Once the cluster gets created
Once the cluster gets created click on Database on the left-hand side, it navigates to the window where you can create user mentions the name and create a password then click on Add user as mentioned in the screenshot below
Once you click on add user so that user gets created successfully
Then go to cluster and connect to the group and navigates to the window where you need to select connect your application as displayed in the below screenshot.
MONGO_DB_URL as displayed in the screenshot above. Their username and password you can use that setup for this MongoDB database.
Then navigate to your mongo DB cluster there on the left-hand side you can find Network Access there click on edit >Add current IP address >we get the IP address as displayed in the screenshot below but after this dashboard can access for your machine.
You can whitelist to your Server IP or allow access from all IP on your wish.