Which ORM to use for build an API with NodeJS ?

github logo ・1 min read

Hello @everyone

I want to create an API with nodejs and express to delivery some information.

I have check some solution but i'm always lost.

I will use a relational database and the API will be consumed by a React application.

whatever you say to me will be useful.

Thank you

twitter logo DISCUSS (7)
markdown guide

Which relational DB? If it is Postgresql you might want to consider a data mapper like @dmfay 's Massive.js


I do not have my choice yet. but it will be postgre or mysql. but if you know of another less heavy database it's good


Maybe if you can tell me more about what kind of app it is and what kind of data you have to deal with I can think of an alternative. But if the data is relational I would choose PostgreSQL

It's a simple platform who user can register and login, they can complete their profile and follow other.

Hi Nenba!

It seems like you're describing the basics of a social network :)

I don't know which constraints you have but I think you can map everything on top of a relational DB, if you outgrow it there are better solutions for the "follow other" part


most ORMs for Node have a disorganized and cluttered API.

Classic DEV Post from Feb 19

Why being a good programmer barely requires programming at all.

Yes, you read that right. To be a good programmer you don’t need to be good at programming. I hear what you’re saying, that makes no sense! Well hold on a second, hear me out.

Nenba Jonathan profile image

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️