mongodhara Svelte Themes

Mongodhara

An intuitive Svelte + FastAPI interface to visualize and interact with MongoDB databases. Includes Docker, Kubernetes, and OAuth2 proxy support.



MongoDB management made elegant, fast, and intuitive.

MongoDhฤrฤ is a blazing-fast web UI for MongoDB โ€” built with Svelte & FastAPI.
Manage databases, collections, documents, and GridFS visually with zero overhead.



๐Ÿ“– Table of Contents


๐Ÿ’ก Why MongoDhฤrฤ?

  • Near-raw MongoDB performance with minimal overhead
  • Clean, modern UI for effortless data exploration
  • Full control: databases, collections, documents, GridFS, and bulk operations
  • Scalable deployment with Kubernetes and Helm support
  • Open-source and developer-friendly

โœจ Key Features

โšก High-Performance UI

  • PyMongo-powered queries with fast pagination and filtering
  • Responsive design with light/dark mode
  • Real-time updates and notifications
  • Intuitive navigation with breadcrumbs and global search

๐Ÿ—‚๏ธ Database & Document Management

  • Create, rename, and delete databases/collections
  • Browse, query, and edit documents with a rich JSON editor
  • Advanced filtering, sorting, and aggregation
  • Bulk import/export and large-scale operations
  • MongoDB-compliant naming and validation

๐Ÿ“ GridFS File Storage

  • Upload, download, and manage files with GridFS
  • Multiple storage buckets
  • Metadata search

๐Ÿงพ Rich JSON Editing

  • Syntax highlighting, auto-format, and real-time validation
  • Inline error detection and schema assistance

๐Ÿš€ Quick Start

For local development:

# Backend
cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --host 0.0.0.0 --port 8000

# Frontend
cd frontend
npm install
npm run dev

Access frontend at http://localhost:5173/mdhara.


๐Ÿณ Docker Setup

# Backend
docker build -t mongodhara/backend:latest ./backend
docker run -p 8000:8000 mongodhara/backend:latest

# Frontend
docker build -t mongodhara/frontend:latest ./frontend
docker run -p 5173:5173 mongodhara/frontend:latest

โ˜ธ๏ธ Helm Chart Deployment

Deploy MongoDhฤrฤ on a Kubernetes cluster using the included Helm chart.

For full instructions, configuration options, and advanced deployment examples, please see the dedicated Helm chart README:

๐Ÿ“– View Helm Chart README


๐Ÿ“ Project Structure

mongodhara/
โ”œโ”€โ”€ backend/               # FastAPI backend source code
โ”œโ”€โ”€ frontend/              # Svelte frontend source code
โ”œโ”€โ”€ helm-chart/            # Kubernetes Helm chart
โ”œโ”€โ”€ media/                 # Logo, demo GIFs
โ”œโ”€โ”€ README.md              # Main README
โ””โ”€โ”€ LICENSE                # License

๐Ÿ”ง Environment Variables

Variable Description Default
MONGO_URI MongoDB connection string mongodb://localhost:27017
REMOTE_API_BASE_URL Backend API base URL for frontend http://localhost:8000

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

  1. Fork the repository
  2. Create your branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a Pull Request

This project is not affiliated with, endorsed by, or sponsored by MongoDB, Inc.
MongoDBยฎ is a registered trademark of MongoDB, Inc.


๐Ÿ“„ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.


Made with โค๏ธ by the Soumya Sen

Top categories

Loading Svelte Themes