A simple web app to browse through and query MongoDB databases.
With user access management.
I built this app to be able to more easily manage access of certain users to the database. Because it now does almost the same as other MongoDB explorers, I just use is as a simple explorer myself. Feel free to contribute to it if you think it is missing something :)
- Browse through databases, collections, and documents
- Expandable documents for better readability
- Run queries on collections including projection and limit fields
- Update queried documents by clicking on their values
- Replica set support
- Remembers last used query per collection
- Installable as a PWA
- Discord webhook support for logging queries by users
- Custom branding name
- User access management
- Add unlimited web app users (without creating database users)
- Allow users which databases to access (only read or read/write)
- Decide which collections to show/hide from each user
- Limit users amount of read/write queries per 24 hours per database
- Support for inserting new documents
- Support for deleting documents
- Support for running queries like in shell (including aggregation)
- Support for other value types (apart from String, Int, Float, Boolean, Array and Object)
- Increasing user limits for one day upon request
- Install bun from bun.sh
- Clone repository:
git clone https://github.com/xgedev/mongo-gui
- Install dependencies:
bun install
andnpm install bcrypt
- Create a
.env
file fill it with your data - Build the app:
bun run build
(after setting .env file) - Run the app:
HOST=localhost PORT=3000 node build
- Default user credentials:
admin
/admin
- Pull the latest changes:
git pull
- Install dependencies:
bun install
- Build the app:
bun run build