Friday, 8 May 2020

Should i still keeping use node-mysql?

Hi, i am a web developer currently working in a small company(which has only one developer and its me). I recently build a rest api with node-mysql and express. But i wrote many raw sql queries for CRUD operation with node-mysql and i found it is bit frustrating, i start doubt myself which 70% of my backend code is raw sql query strings and rest of them just some code on define routes.My boss don't care what technology i am using as long as it work, yes its worked but i am feel quite stupid so i am thinking to use a orm like sequelize to make my backend code "more like" a pure JS API.But i need to re-write many thing to use this ORM, i am thinking is that worth it? since i am the only developer in the team, no one i can ask so i am wondering if someone could tell me whats the pros and cons of node-mysql vs ORM like sequelizer?​

Submitted May 09, 2020 at 06:41AM by mystreie1126

No comments:

Post a Comment