ABOUT MAVIBASE

Mavibase is a self-hostable, open-source Backend as a Service (BaaS) platform that lets you ship production backends in minutes. It provides a document database engine backed by PostgreSQL, authentication with 2FA, session management, team organization, API key management, and a web console to manage everything.

git clone https://github.com/mavibase/mavibase.git
FEATURES
01 DATABASE

Document database engine.

Flexible NoSQL collections with optional schema enforcement, backed by PostgreSQL with full CRUD and bulk operations.

collectionsdocumentsversioning
02 SCHEMA

12 field types.

String, number, boolean, object, array, email, url, ip, datetime, enum with validation rules and relationships.

requireduniqueregex
03 QUERY ENGINE

20+ operators.

JSON-based queries with equal, between, contains, search, in, and/or/not logic, sorting, pagination, and aggregations.

full-textpopulateaggregate
04 AUTHENTICATION

JWT + MFA built-in.

Register, login, logout, email verification, password reset, session management, and multi-factor authentication.

jwtmfasessions
05 PERMISSIONS

Fine-grained access.

Collection and document-level permissions with any, user, role, and owner rules. Custom roles with optional expiry.

readcreateupdatedelete
06 CONSOLE

Web dashboard.

Complete database management with light/dark/system themes. Manage structure, permissions, and data visually.

next.jsshadcnthemes
BACKEND
Node.js + Express
FRONTEND
Next.js 15 + React
DATABASE
PostgreSQL
CACHE
Redis

Observability

Full audit trail on all database operations. Automatic detection and logging of slow queries with optimization suggestions. Per-database quota enforcement and usage tracking. Database and collection size monitoring.

AUDIT LOGS
Full trail
SLOW QUERIES
30-day retention
USAGE
Quota tracking
SIZE
DB monitoring

Multi-tenancy

Full team + project isolation on all data. Create teams, invite members, manage projects with scoped API keys. Multi-tenant PostgreSQL with isolated schemas per project.

TEAMS
Organization
PROJECTS
Isolated schemas
API KEYS
Scoped access
SESSIONS
Device management
STATUS

Active development.

Mavibase is currently in active development. Features and APIs may change. We welcome contributors and early testers to help shape the future of open-source BaaS.

Completed
9 features
Document database engine
Schema validation (12 types)
Query engine (20+ operators)
Document versioning
Transactions (ACID)
Authentication (JWT + MFA)
Teams & projects
API key management
Web console
Coming Soon
8 planned
JavaScript SDKv0.1.1
PHP SDKv0.1.1
Realtime subscriptionsplanned
Edge Functionsplanned
File Storageplanned
Python SDKplanned
Flutter SDKplanned
Docker imageplanned
TypeScript5.3+Next.js15Node.js20+PostgreSQL14+Redis6+
CONTRIBUTE

Fork the repo, create a branch, and open a Pull Request.

VIEW GITHUB
mavibase banner

Build backends in minutes

v0.1.0Apache 2.0TypeScript