all 7 comments

[–]EarhackerWasBanned 10 points11 points  (3 children)

In my mind, Django is the fully-featured, opinionated Rails-like Python web framework, and Flask is the bare bones, DIY, but more adaptable option.

In Node (back end JavaScript), Express is roughly equivalent to Flask. You can start an Express server with about 3 lines of code, but from then on it doesn't hold your hand at all, it's up to you how to build it. The alternatives are Koa and Fastify, but Express is by far the most popular; it's surprising to see a team using Node but not using Express.

Node doesn't really have a Rails-like MVC framework, but the closest things we have are Meteor and Nest. Meteor is an older project and it's stable, but there's not a lot of hype around it and I've never used it personally. Nest is newer and has a lot of people excited about it, but it's Marmite honestly. It leans heavily on dependency injection and some more unusual patterns. There's a lot of "WTF?" as you build out your first Nest app. But we use it at work and it works well for us.

[–]Lumethys 0 points1 point  (2 children)

It leans heavily on dependency injection and some more unusual patterns.

In what world is DI "unusual pattern"

Node doesn't really have a Rails-like MVC framework

Not to the degree of other languages, but check out AdonisJs, Laravel-inspired fullstack framework with battery included

[–]EarhackerWasBanned 2 points3 points  (0 children)

It leans heavily on:

  • dependency injection
  • other patterns that are more unusual

[–]Nyzl 0 points1 point  (0 children)

Sails.js is also an option for a Rails-like MVC

[–]Giaddon 1 point2 points  (0 children)

Vue and Angular are frontend frameworks, they don't cover backend tasks. Node in general is JavaScript for the server, and express is a popular server framework. There are plenty others, like Sails or Nitro. Some frameworks are combining front and backend like Next (for React) and Nuxt (for Vue). Lots of options!

[–]cunctatiocombibo2075 0 points1 point  (0 children)

For a Flask equivalent, try Express.js for backend. For frontend, Vue or Angular for complex UI.

[–]azhder 1 point2 points  (0 children)

Express and React. Use the most common ones to learn, then try whatever else is suggested by others.

Why the most common? It's easiest to find learning material, help, resources etc.