Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recommendations regarding sharing model code in node.js and browser

I am using Sequelize as my server side ORM. Is there a recommended approach towards sharing the Model code (especially the validations) with my client application ?

Please don't recommend solutions which require me to move to a NoSQL database. Currently that is not an option for me. While I really Sequelize as an ORM, I am willing to move onto some other model implementation if it is beneficial.

like image 549
lorefnon Avatar asked Aug 11 '26 00:08

lorefnon


1 Answers

Persistencejs, but it doesn't appear to be as well maintained as Sequelize:

https://github.com/zefhemel/persistencejs

like image 54
Loren Avatar answered Aug 12 '26 22:08

Loren



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!