can I connect to mongodb atlas directly from my react app with using nodejs?
Answers
Answered by
4
Answer:
Explanation:
Before we begin, we need to ensure you've completed a few prerequisite steps.
- Install Node. js. ...
- Install the MongoDB Node. js Driver. ...
- Create a free MongoDB Atlas cluster and load the sample data. ...
- Get your cluster's connection info. ...
- Import MongoClient. ...
- Create our main function. ...
- List the databases in our cluster. ...
- Save Your File.
Answered by
2
Answer:
Before we begin, we need to ensure you've completed a few prerequisite steps.
Install Node. js. ...
Install the MongoDB Node. js Driver. ...
Create a free MongoDB Atlas cluster and load the sample data. ...
Get your cluster's connection info. ...
Import MongoClient. ...
Create our main function. ...
List the databases in our cluster. ...
Save Your File.
Similar questions