LioranDB TypeScript Series #1: Meet LioranDB V2, a Rust-Powered Document Database for TypeScript
LioranDB TypeScript Series: Build with a developer-first document database powered by Rust and designed for TypeScript.
On 16 August 2026, we released the pre-alpha of LioranDB V2.
LioranDB is a developer-first NoSQL document database built in India. Its database engine is written in Rust, while application developers get a familiar MongoDB-style experience through the official TypeScript/JavaScript driver.
If you're building with Node.js or TypeScript, the goal is simple:
Give you a familiar document-database API without making you think about the database engine underneath it.
What does using LioranDB look like?
import { LioranDBClient } from "@liorandb/driver";
const client = await LioranDBClient.connect(process.env.URI!);
try {
const db = client.db("default");
const users = db.collection("users");
const inserted = await users.insertOne({
email: "user@example.com",
active: true,
age: 18,
});
const found = await users.findOne({
email: "user@example.com",
});
console.log({
insertedId: inserted.insertedId,
found,
});
} finally {
await client.close();
}
That's the basic mental model:
LioranDBClient
↓
Database
↓
Collection<T>
↓
CRUD / Queries / Indexes / Aggregation
The same client also exposes administrative and operational APIs for authentication, users, roles, backups, cluster state and settings.
Why are we building LioranDB?
Modern application developers already understand document databases.
The interesting problem isn't inventing another strange query language. It's building the infrastructure underneath that API.
LioranDB V2 focuses on:
- a Rust database engine
- document-oriented storage
- secondary indexes
- text indexes
- aggregation
- HTTP and gRPC transports
- authentication and authorization
- operational APIs
- Docker-first self-hosting
- first-class TypeScript support
During development, our internal consumer-hardware testing has reached approximately 10K writes/sec + 35K reads/sec in mixed workloads.
These are development benchmarks, not universal performance guarantees. Hardware, dataset size, indexes and workload shape matter.
The TypeScript driver
Install the current pre-alpha driver:
npm install @liorandb/driver@2.0.5
Or install the CLI:
npm install -g @liorandb/cli@1.0.5
The driver exposes:
LioranDBClientDbCollection<TSchema>FindCursorAggregationCursorAuthServiceUsersServiceRolesServiceClusterServiceBackupsServiceSettingsService
It also includes connection-string parsing, transports, diagnostics and a structured error hierarchy.
What we'll build in this series
This is a 12-part hands-on series.
- Meet LioranDB V2
- Run LioranDB with Docker
- Connection strings and client lifecycle
- Typed CRUD
- Queries, cursors and text search
- Secondary and text indexes
- Aggregation
- Authentication, users and roles
- Backups, cluster and operational APIs
- The official LioranDB CLI
- Docker Compose, Caddy and TLS
- Production patterns and what's next
By the end, you'll know how to go from:
docker run ...
to a TypeScript application talking to a persistent LioranDB deployment.
Start here
Website: https://liorandb.com
Documentation: https://docs.liorandb.com
Solo Docker Quickstart: https://docs.liorandb.com/docs/getting-started/solo
LioranDB is created by Swaraj Puppalwar, Founder & CTO at Lioran Developer Solutions.
GitHub: https://github.com/UltronTheAI
Lioran Developer Solutions: https://lioransolutions.com
Next: Part 2 → Run LioranDB locally with Docker, secure the bootstrap account and execute your first TypeScript script.
If you try the pre-alpha, break things. Then tell us what broke. That's what pre-alpha is for. :)
Top comments (0)