Auto-generated APIs, authentication, realtime updates, and an admin dashboard in one backend. Ships with SQLite out of the box and supports PostgreSQL. Deploy as a single binary or embed in your C++ app.
🔸 Authentication 🔸 Realtime Database 🔸 Admin Dashboard 🔸 File Storage
One binary, portable and embeddable. Perfect for embedded devices, desktop apps, or standalone servers.
Create database tables and get instant CRUD endpoints. Every entity gets list, get, add, update, and delete.
Learn moreBuilt-in auth with access control rules. Public, auth-only, or custom expressions per operation.
Learn moreSubscribe to live database changes over Server-Sent Events. Works with SQLite and PostgreSQL.
Learn moreWeb UI at /mb for managing data, schemas, and access rules. No code needed for CRUD and config.
Try demoHandle file storage and serving with multipart/form-data. Attach files to records and serve them via URL.
Learn moreUse as a library in your C++ applications. Link MantisBase and run your backend inside your process.
Embedding guide
MantisBase is a lightweight C++ library that provides a complete backend: one binary, no external runtime, portable and embeddable. Create tables and get instant REST APIs, JWT auth, realtime updates, and a web admin dashboard.
Built for speed and extensibility. Perfect for embedded devices, desktop apps, or standalone servers. All dependencies are included as submodules—no surprises.
Run the free demo or download the binary. One command and you have a full backend with API and admin dashboard.
Try free demoPick a topic below and follow the steps.
Get the binary, run Docker, or build from source. Default port is 7070.
Pre-built binary
# Download from GitHub Releases, extract, then:
./mantisbase serve
Download from GitHub Releases.
Build from source
git clone --recurse-submodules https://github.com/allankoechke/mantisbase.git
cd mantisbase
cmake -B build && cmake --build build
./build/mantisbase serve
Server: http://localhost:7070 · API: /api/v1/ · Dashboard: /mb
MantisBase is open source. Contributions are welcome. See the guidelines and open an issue or PR on GitHub.
Contributing guide