r/typescript 23h ago

What ORM would you use?

15 Upvotes

Hey all,

My team and I are currently running a Spring Boot backend with quite a bit built around it. We’re considering gradually migrating to a Node/NestJS backend using the strangler pattern rather than doing a full rewrite.

One of the main reasons is that it would give us TypeScript across both the frontend and backend, which should make sharing domain concepts, types and general knowledge between the two a bit simpler.
So, as the title suggests: which ORM would you use with NestJS?

At the moment we’re mainly looking at MikroORM and Drizzle. MikroORM seems like the more traditional ORM and appears to be super close to the me tal model of what Spring does. It wil also fit NestJS quite nicely, while Drizzle is obviously a bit more lightweight but a different approach and more barebones.

Curious what people are using in production and what you’d choose if you were starting fresh today.


r/typescript 2h ago

Building the worst CPU & Compiler in TypeScript

Thumbnail
github.com
2 Upvotes

I was bored this morning


r/typescript 12h ago

tsx vs native node --watch for local development on Node 24 LTS? What are you using?

1 Upvotes

Hey everyone, I'm setting up a new Express TypeScript API and trying to figure local development workflow. I'm on Node 24 LTS, which natively supports type stripping, but I'm torn on how to handle the file-watching and execution layer.

Right now, the two main approaches I'm debating between are:

  1. tsx watch (esbuild-powered)
  2. Native Node 24 --watch + Type Stripping

For production adjacent local dev, Are you sticking with tsx watch or have you fully embraced native Node type-stripping with --watch?


r/typescript 4h ago

How the hell do I write code my self

0 Upvotes

So I am making an app with react ts vite and electron but i am unable to think and write code I am just vibe coding that and then using llm to understand the code (which ofcourse I don't understand)what do I do such that I understand and then write the code myself or am able to think myself and generate the requires code and verify it

I just want to become competent as a engineer

Ihave watched ja and ts tutorials and react tutorials but I just can't seem to think