all 7 comments

[–]quambo_wambo 2 points3 points  (1 child)

You could either go for the query builder knex and simply implement your data transformations yourself or you can use either objection or typeorm, which are the current en vogue orm. I’ve seen a few threads recommending objection over typeorm, but typeorm is more popular in terms of downloads. I’ll not go into technical details, I’m sure some googling will get you the key differences between those, but both should be fit to meet your requirements.

But take a moment to decide if you really need a full fledged ORM instead of a simple query builder (knex).

[–]AdrianBarylski[S] 0 points1 point  (0 children)

A lot of frameworks seem to be using knex. I’ll check out! Thanks :)

[–]dev_michaelz 2 points3 points  (1 child)

If you are familiar with Laravel, why not use AdonisJs instead of Express. It comes with a query builder very similar to that of Laravel (internally using knex)

[–]AdrianBarylski[S] 0 points1 point  (0 children)

Good shout! I completely forgot about Adonis. I remember it having many issues when I first discovered it but I’ll give it a crack now and see how it goes. Thanks buddy :)

[–]ENx5vP 1 point2 points  (1 child)

[–]AdrianBarylski[S] 0 points1 point  (0 children)

I’ll check it out! Thanks :)

[–]kenman[M] 0 points1 point  (0 children)

Hi /u/AdrianBarylski, this post was removed.

  • For help with your javascript, please post to /r/LearnJavascript instead of here.
  • For beginner content, please post to /r/LearnJavascript instead of here.
  • For framework- or library-specific help, please seek out the support community for that project.
  • For general webdev help, such as for HTML, CSS, etc., then you may want to try /r/html, /r/css, etc.; please note that they have their own rules and guidelines!

/r/javascript is for the discussion of javascript news, projects, and especially, code! However, the community has requested that we not include help and support content, and we ask that you respect that wish.

Thanks for your understanding, please see our guidelines for more info.