clidey / whodb

A lightweight next-gen database explorer - Postgres, MySQL, SQLite, MongoDB, Redis, MariaDB & Elastic Search
https://whodb.clidey.com
GNU General Public License v3.0
547 stars 12 forks source link

[FR] Connect to MongoDB via Connection String (URI) #37

Open docryte opened 1 week ago

docryte commented 1 week ago

Sometimes it even faster and easier to connect to MongoDB via using Connection String (URI) like on image below. image

P.S.: It's also would be great to implement all connection settings allowed by Mongo Compass.

hkdeman commented 1 week ago

Great suggestion! Definitely going to make it easier to add connection string.

To make the UX simpler, if you pasted in the "hostname" or any other field the connection string and it automatically picked up everything. Would that experience be good as well?

hkdeman commented 1 day ago

With this PR: https://github.com/clidey/whodb/pull/50, you should easily be able to paste the URL in the hostname and it will auto populate all of the details in the form - ready to be connected! Let me know if you are able to test it :)