Mikro-ORM

Backend & API Technologies
Mikro-ORM
Mikro-ORM is a TypeScript ORM for Node.js based on the Data Mapper pattern and Unit of Work. It provides strong typing, identity map, and flexible SQL control, making it suitable for complex and enterprise-grade backend systems.
What is it?
Mikro-ORM is an open-source ORM for Node.js and TypeScript designed around enterprise software patterns. Unlike Active Record–based ORMs, it follows the Data Mapper approach, keeping domain logic separate from persistence logic.
What does it do?
Mikro-ORM manages database access, entity mapping, change tracking, and transactions using a Unit of Work pattern. It supports SQL databases like PostgreSQL, MySQL, SQLite, and MongoDB, and allows writing both ORM-based and raw SQL queries.
Where is it used?
Mikro-ORM is commonly used in complex backend systems, domain-driven design (DDD) architectures, GraphQL APIs, and enterprise Node.js applications where data consistency and transaction control are critical.
When & why it emerged
Mikro-ORM emerged around 2018 to bring proven enterprise ORM patterns—commonly seen in .NET and Java ecosystems—to the TypeScript world. It was designed for teams that needed more control than lightweight ORMs while avoiding Active Record limitations.
Why we use it at Internative
We use Mikro-ORM in backend systems that require strong domain modeling, transactional consistency, and advanced data access patterns. Its architecture allows us to build clean, maintainable, and scalable backend services.
More in Backend & API Technologies
Other technologies from the same category of the library.

Knex
Knex is a flexible SQL query builder for Node.js that provides a programmatic, database-agnostic way to write SQL queries. It offers fine-grained control over queries while supporting multiple relational databases.

RabbitMQ
RabbitMQ is an open-source message broker that enables reliable asynchronous communication between distributed systems. It supports multiple messaging protocols and helps decouple services for scalable, fault-tolerant architectures.

Apache Kafka
Apache Kafka is a distributed event streaming platform designed for high-throughput, fault-tolerant, and real-time data pipelines. It enables systems to publish, subscribe to, store, and process event streams at scale.

Swagger
Swagger is an API documentation and development framework built around the OpenAPI Specification. It enables teams to design, document, test, and consume RESTful APIs with clear, machine-readable contracts.

Typescript
TypeScript is a strongly typed programming language that builds on JavaScript by adding static typing and modern language features. It improves code quality, scalability, and maintainability in large applications.

.Net 5
.NET 5 is a unified development platform by Microsoft that brought together .NET Core and .NET Framework into a single, cross-platform ecosystem. It enables building high-performance web, API, desktop, and cloud applications.