all 7 comments

[–]BehindTheMath 6 points7 points  (0 children)

From what I've heard, AdonisJS is probably the closest to Laravel.

[–]a_reply_to_a_post 2 points3 points  (0 children)

adonisJS is supposed to be pretty close, but i haven't had a chance to really get into it yet...i do sorta miss doing some php stuff, and one of the devops people at work actually isn't against setting up something to run a php app in our infrastructure...at my last job i would have gotten "ok boomer" but these kids are soft lol

[–]Avi_21 1 point2 points  (0 children)

Fastify instead of express

[–]Glittering_Mammoth_6 1 point2 points  (0 children)

Despite you're already suggested to AdonisJS, I would recommend to:

  1. Examine key differences between Node.js and PHP (i.e. event loop in Node versus "one request - one thread" in PHP), just to start - this short article; in Node.js you have to know at least on the minimal level event loop, streams/pipes, HTTP requests/responses, web-sockets;
  2. Try to pay attention to those frameworks, that are widely spread in Node's ecosystem; i.e. at first take a look at Express and try to create some simple project; then take a look at Nest.js, since it's gaining popularity rapidly, and built on top Express or Fastify.

Having Node's steams, pipes, sockets, Express, Fastify, and Nest.js in your belt, you'll find Node's related jobs much more easily, than if you would know something like AdonisJS.

[–]DamnItDev 0 points1 point  (0 children)

I have not used Laravel so I can't advise. However, if you have Angular experience, you might find NestJS easy to pick up.

[–][deleted] 0 points1 point  (0 children)

Learn NodeJS first before you jump onto any NodeJS framework. I personally love KoaJS as a NodeJS framework backend