7/25/2023 0 Comments Mongodb compass docker imageMongo-Express: View Documents of a Collection Check out the next section for details about this. I like to use it during local development where I start it next to the MongoDB container with Docker-Compose. It’s not a beauty, but useful to quickly take a look at some documents and change them while not having to configure a connection in a dedicated client. Mongo-Express is a useful web client for MongoDB. Needless to say, that you should encrypt your disk when having passwords in the shell history file. Use fzf for the history search to quickly find the required mongo connection command Just hit Ctrl-R and type “mongo databaseName/username/appName”. When it comes to MongoDB, I use the fuzzy history search to quickly find the required mongo connection line to connect to a certain database. But for me, the most powerful feature of fzf is to apply the fuzzy search to the shell history (via key bindings). fzf-Powered Shell History Searchįzf is a really awesome command line tool for fuzzy-searching things like files and folders. Syntax Coloring, Formatting, and Timing with Mongo-Hacker. There is much more to discover just check out the documentation. It provides neat enhancements for the Mongo Shell like syntax coloring and formatting by default (no need to append. I highly recommend to install Mongo-Hacker. Mongo Shell Enhancements with Mongo-Hacker Container 3: Seeding script to initialize the MongoDB with randomized dummy data. Container 2: Mongo-Express to quickly view and edit the data in the browser Dockerized development setup powered by Docker-Compose.In this post, I like to share handy CLI tools for working with MongoDB, a Docker-based local development approach and helpful Mongo shell snippets. In this time, I tried different tools and development approaches some turned out to be useful for us, others don’t. I’m using MongoDB in production for many years. MongoDB Desktop Clients: Compass and Studio 3T.Local Development Setup with Docker-Compose.Mongo Shell Enhancements with Mongo-Hacker.Java Ecosystem, Kotlin, Engineering Management, Sociology of Software Development MongoDB: Useful Development Tools and Snippets
0 Comments
Leave a Reply. |