Open dmleach opened 6 years ago
Find something that works with React
TypeORM looks like a good candidate. It's a Javascript ORM and specifically mentions Cordova compatibility. It also has the simple look that I expect from an ORM's model files.
Create a proof of concept that shows how to use TypeORM
Hey there, I was poking around and noticed the following references around ORM and Node, didn't know if you'd find it helpful:
using sequelize as an ORM
MassiveJS for the win. Organized SQL files!
Would recommend using a query builder rather than an ORM. ORMs make the code a lot harder to understand because they hide away the real work under helper methods. When you can see the database queries the code is infinitely easier to grok.
I spotted those and other comments in this post: https://www.reddit.com/r/javascript/comments/80v2gw/i_plan_to_use_the_mern_stack_but_i_am_conflicted/
Doctrine is the one in Symfony, but is it married to PHP? What else is out there?