i'm trying to connect into a database and the database url that it's in the .env file is that DATABASE_URL="mongodb//root:Bambam&xx12@localhost:27017/dataviewer"
but it's allways saying that it's an invalid url, can anybody say what is wrong with my url connection?
The MongoDB database connector requires a replica set deployment as described in this prerequisites.
You can follow this guide to configure replica set deployment in your local MongoDB instance.
The easiest way would be to use MongoDB Atlas as they have a replica set pre-configured.