DEV Community

Discussion on: Backend Basics for Frontend Engineers: Dive into SQL and APIs with NodeJS, Prisma, and PostgreSQL

Collapse
 
dhatguy profile image
Joseph Odunsi

Nice. I just started looking into ORMs. Still debating whether to use sequelize or prisma.

Also, bodyparser is not necessary if you're using the latest version of express.

Use express.json() instead

Collapse
 
dystopiandev profile image
Justin Etighe

Skip both and use MikroORM.

Collapse
 
ruheni profile image
Ruheni Alex

Hi Joseph 👋🏾

Alex here from the Prisma team.

I would encourage you to try out both ORMs and share your overall experience. My opinion is going to be biased but I would encourage you to try out Prisma. Some of the benefits Prisma offers are query auto-completion, type-safety when composing your queries and intuitive data modeling.

If you get stuck, feel free to reach out 🙂

Collapse
 
dhatguy profile image
Joseph Odunsi

Well, I'm glad to tell you that I chose Prisma.

Sequelize is good too but I lost it when I got to defining associations. It's really confusing to me. After going through the Prisma docs, I was able to understand how to define associations.

So far, Prisma works well for me and the VSCode extension makes it easier to work with.