User interface for MongoDB.
- Basic knowledge in MongoDB
- An instance of MongoDB.
- Docker if you intend on running the app in a container.
- Node v20.7.0 and above.
Clone this repository.
git clone https://github.com/bryokim/mongoUI.git
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Build the application:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Run the application:
node ./output/server/index.js
If you change the port use the one you set.
The app can now be accessed on http://localhost:3000
The docker container exposes port 3000 that is mapped to the machine's port 3000. You can change the port mappings in Dockerfile and docker-compose.yml.
Build and start the container:
docker compose up --build
If you stop the container, you can restart it using the command below:
docker start mongo_ui # Use name of the image.
If you change the port use the one you set.
The app can now be accessed on http://localhost:3000
To connect to your locally hosted MongoDB, use
host.docker.internal
as your host in the connection uri when running the app in a container.
Any contribution is welcome.
mongoUI
is licensed under the MIT license.
🎨