From 217612f86874e035470d46e667581c247ad65444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ad=C3=A1mek?= Date: Wed, 26 Aug 2026 23:27:56 +0200 Subject: [PATCH] docs: describe the app and link the decorators variant --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e215bc4..68e70a4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +# MikroORM + Next.js example + +Example blog app showing [MikroORM](https://mikro-orm.io) inside a Next.js server, including entities with relations and embeddables, custom repositories, a virtual entity for listing, lifecycle hooks, lazy scalar properties and migrations. The entities are defined via `defineEntity`. + +An alternative version of the same app using the decorator API lives on the [`decorators` branch](https://github.com/mikro-orm/nextjs-example-app/tree/decorators). + This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). ## Getting Started