I was recently working on a project recently and one of my friend asked have you ever used express.js ? While I have asked node/express vs django question before also this time I was really interested in checking out what am I losing/missing by not using express.js because I have been working on django for nearly 2 years now I have faced this question several times.
Hence, I decided to give it a spin and guess what my experience was...I was like what the heck is this. I was shocked with the amount of the configuration that was required just to get the project to basic working condition with authentication and user creation.
I also used typeorm to generate a default template for starting a express project with typeorm and experess Router.
I tried passport.js for the auth and the setup required for that was way more than what I would expect and configure for any django project.
Yes, I felt the amount of flexibility that it offered but also felt the amount of work that each response required to get desired result.
Maybe I am too comfortable with django but I felt that anyone would be way faster and also would write more DRY and modular code wile using it but I can see a lot of people learning node.js and that population is way higher than what I can see for django.
So, is there any aspect that I am missing ? or was my application domain not suitable for node.js because I can see Coursera using it and at the same time I can see Udemy using django for almost a similar application domain of video tutorials and courses.
While there were many tutorials for auth and middleware for express.js those weren't as simple to implement as they were on django.
And yes I missed the inbuilt admin panel very badly while trying to build express.js let alone the class views and viewsets which handled a lot of error handling by default for me.
If I was wrong on any approach somewhere or if someone has worked on both technologies can they please share their views and experience in the comments.