I wrote an application (in PHP, JS, HTML and CSS) that allows you to administrate a MongoDB database via a Web browser. Project name is: MongoDB PHP GUI. It is open-source and free. Its features are:
Create databases and collections.
Create, read, (in place) update and delete documents.
Query with JSON or SQL. Autocompletion is available.
Export output to JSON.
Create and delete indexes.
Work on any device thanks to its responsive design.
All currently supported versions of MongoDB server (4.2+) use an optimised index build process that removes the need for foreground vs background index builds:
Previous versions of MongoDB supported building indexes either in the foreground or background. Foreground index builds were fast and produced more efficient index data structures, but required blocking all read-write access to the parent database of the collection being indexed for the duration of the build. Background index builds were slower and had less efficient results, but allowed read-write access to the database and its collections during the build process.
Starting in MongoDB 4.2, index builds obtain an exclusive lock on only the collection being indexed during the start and end of the build process to protect metadata changes. The rest of the build process uses the yielding behavior of background index builds to maximize read-write access to the collection during the build. 4.2 index builds still produce efficient index data structures despite the more permissive locking behavior.