DEV Community

Discussion on: Recommend me a Node.js framework.

Collapse
 
sergiodxa profile image
Sergio Daniel Xalambrí • Edited

Stay with Django. I am mainly a JS developer and used Django in a previous job. The Django ORM is far better than any ORM/ODM in Node.js (Mongoose is good but is only for MongoDB). Use Django to create an API, either with Django Rest Framework or Graphene.

But I found Node.js really good for microservices where you may don't use a full ORM and instead write custom and optimized SQL/Mongo/whatever queries. If you want to go that way use Micro.

Or you can use graph.cool and Prisma which will generate a lot of things for you by only defining a GraphQL schema (magic similar to Django ORM) and you can use custom Node.js code for specific queries or mutations, in which case it's more similar to a microservice approach.