lucid
MikroORM
Our great sponsors
lucid | MikroORM | |
---|---|---|
8 | 48 | |
980 | 7,122 | |
3.3% | 2.1% | |
9.0 | 9.9 | |
19 days ago | 7 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lucid
-
Moving MyUnisoft Node.js back to TypeORM
When I started this project I was inspired by Lucid which is the ORM of the Adonis.js framework.
- what is the best ORM to use in a production application for you?
-
Ask HN: Easiest way to build a CRUD app
Sure, it's one of the best looking for that case, but still everything from the view templating system[1] to the database[2] it uses "by default" needs to be manually installed, which makes it def not like Django/RoR IMHO. Heck, even the simple session management needs to be installed separately[3].
[1] https://docs.adonisjs.com/guides/views/introduction#setup
[2] https://docs.adonisjs.com/guides/database/introduction
[3] https://docs.adonisjs.com/guides/session
-
Création d'un utilisateur - Créer un blog avec Adonis
Pour en savoir plus : Lucid, Env
-
Part 2 - Installation and Database Setup
The config/database.ts file holds all the configuration related to the database. For more details on this, check out the documentation.
-
Deploy your Node.js app without a hassle
For Adonis.js to work with database we should install Lucid ORM and configure it properly.
-
Stuck On Node database management. Should I use a different ORM? Should I use raw SQL?
Adonisjs Lucid is pretty solid in all regards. https://docs.adonisjs.com/guides/database/introduction
-
Introducing AdonisJS - Database setup
The ace invoke command executes the instructions Javascript file exposed by the package.
MikroORM
-
Rust GraphQL APIs for NodeJS Developers: Introduction
In my usual NodeJS tech stack, which includes GraphQL, NestJS, SQL (predominantly PostgreSQL with MikroORM), I encountered these limitations. To overcome them, I've developed a new stack utilizing Rust, which still offers some ease of development:
- MikroORM 6: Polished – MikroORM
- I Hate NestJS
-
What's wrong with Node.js ORMs? Thousands of issues? Why?
https://www.npmjs.com/package/mikro-orm - 44 issues
-
Top 6 ORMs for Modern Node.js App Development
Mikro-ORM is a TypeScript ORM that focuses on simplicity and efficiency. It supports various SQL databases and MongoDB. Mikro-ORM is known for its simplicity and developer-friendly APIs. It provides a concise syntax for defining data models and relationships, making it easy to use.
-
We migrated to SQL. Our biggest learning? Don't use Prisma
I found MikroORM [0] to be quite reasonable if you're in the TS ecosystem already. It was also easy to do custom, raw queries, and really just felt like it wasn't in the way.
[0] https://mikro-orm.io/
- Mikro-ORM – TypeScript ORM for Node.js
-
The Epic Stack by Kent C. Dodds
It also does code generation into its own module, so good luck with hoisting in a monorepo where you want multiple independent prisma schemas. MikroORM[1] is a much better alternative to Prisma in my opinion but any ORM carries some form of baggage.
[1] https://mikro-orm.io/
-
MikroORM v6 gets a strict partial loading support
More about v6 development can be found here.
-
Announcing a new TypeScript ORM
I recommend looking at https://mikro-orm.io/
What are some alternatives?
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
supabase - The open source Firebase alternative.
Mongoose - MongoDB object modeling designed to work in an asynchronous environment.
deno-nessie - A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.
ElectroCRUD - Database CRUD Application Built on Electron | MySQL, Postgres, SQLite
drizzle-orm - Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
typeorm-model-generator - Generates models for TypeORM from existing database.
prisma-examples - 🚀 Ready-to-run Prisma example projects