Lightning fast BaaS in C++ — Open Source, Single Binary, Full Backend, Anywhere.
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
Everything you need for a full backend
One binary, portable and embeddable. Perfect for embedded devices, desktop apps, or standalone servers.
Auto-generated REST APIs
Create database tables and get instant CRUD endpoints. Every entity gets list, get, add, update, and delete.
Learn moreJWT authentication
Built-in auth with access control rules. Public, auth-only, or custom expressions per operation.
Learn moreRealtime (SSE)
Subscribe to live database changes over Server-Sent Events. Works with SQLite and PostgreSQL.
Learn moreAdmin dashboard
Web UI at /mb for managing data, schemas, and access rules. No code needed for CRUD and config.
Try demoFile uploads
Handle file storage and serving with multipart/form-data. Attach files to records and serve them via URL.
Learn moreEmbeddable
Use as a library in your C++ applications. Link MantisBase and run your backend inside your process.
Embedding guideWhat is MantisBase?
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.
Ready to try it? Get started in minutes
Run the free demo or download the binary. One command and you have a full backend with API and admin dashboard.
Try free demoUp and running in seconds
Pick a topic below and follow the steps.
Download & setup
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
Get involved
MantisBase is open source. Contributions are welcome. See the guidelines and open an issue or PR on GitHub.
Contributing guide