MongoDB Admin That's Actually Magical ✨
Framework-agnostic MongoDB admin library with intelligent relationship detection, zero configuration, and beautiful auto-generated UI.
Build a production-ready admin panel in just 10 lines of FastAPI code.
Note: Currently supports FastAPI only. Django, Flask, and
Starlette coming soon!
from fastapi import FastAPI
from motor.motor_asyncio import AsyncIOMotorClient
from monglo import MongloEngine
from monglo.ui_helpers.fastapi import create_ui_router
# Connect to MongoDB
client = AsyncIOMotorClient("mongodb://localhost:27017")
# Create FastAPI app
app = FastAPI()
# Initialize Monglo
engine = MongloEngine(database=client.mydb, auto_discover=True)
@app.on_event("startup")
async def startup():
await engine.initialize()
app.include_router(create_ui_router(engine))
# That's it! 🎉
# Visit http://localhost:8000/admin
Built for developers who want to focus on their application,
not spend days building admin interfaces.
Automatically detects all collections, schemas, and field types. Zero configuration required.
Intelligent detection of ObjectId references, DBRefs, and naming conventions. Navigate relationships with ease.
Works with FastAPI (now), Django & Flask (coming soon). Clean adapter pattern for any framework.
Table view for browsing & filtering. Document view for detailed inspection. Switch seamlessly between both.
Modern, responsive interface with dark mode. Professional aesthetics out of the box.
Built on Motor for async operations. Proper error handling. Battle-tested and ready to deploy.
Start with FastAPI today. More frameworks coming soon.
URLConf integration
Blueprint integration
Minimal ASGI framework
Get started in less than 5 minutes. No credit card required.