Answer the question
In order to leave comments, you need to log in
How to set up MongoDB on Windows?
I downloaded mongodb, but I just can’t figure out how to use it and set up at least one database . I’ve
never come across it before, but now I need to make friends with nodejs mongodb.
It is required to create a base along the path mongodb://localhost/baseUser .
Tell me how to do it?
You can link to the normal documentation.
Answer the question
In order to leave comments, you need to log in
Just start mongodb, give it any path for db (an empty folder, mongo will create it itself) and refer to the URL mongodb://localhost :27017 /baseUser
The baseUser base will be created automatically when you write something to it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question