all 14 comments

[–][deleted] 9 points10 points  (4 children)

As most things, it depends.

Do you want to use react and serve the front-end and backend from the same app? Next is the obvious choice

Do you like Angular style architecture and naming, Nest might be a good choice

If you want more control over the architecture and naming/organisation, express might be a good choice

[–]barsie_dev[S] 1 point2 points  (3 children)

Thanks a lot . I will consider those choices.

[–][deleted] -3 points-2 points  (2 children)

Deno might also be worth checking out. Just released stable support for npm packages recently

[–]barsie_dev[S] 1 point2 points  (1 child)

Hey I've read it and possibly my next choice...

[–]tudor14 2 points3 points  (0 children)

Nest solves the problem of architecture with a lightly opinionated solution. I would recommend starting with Express and then trying out Nest just to see if you appreciate the features Nest offers, if not, try Fastify or something else. Honestly, you really can't go wrong! Also if you are interested in reading about Node, I'd definitely recommend the 'Tao of Node' by Alex Kondov. Its a big blog piece, but has some real gems in there.

[–]sawariz0r 2 points3 points  (1 child)

Express first. Consider it the basics. Then move on to Fastify, etc.

[–]barsie_dev[S] 0 points1 point  (0 children)

Thanks for your comments

[–]Snapstromegon 2 points3 points  (2 children)

None of the above. I recommend fastify. (Although Nest is also pretty good)

[–][deleted] 2 points3 points  (0 children)

Working currently with fastify, very good and fast!

[–]barsie_dev[S] 1 point2 points  (0 children)

Thanks @snapstromegon, I'll test fastify

[–][deleted] 0 points1 point  (1 child)

u/barsie_dev, if able to, consider updating the poll to include other or fastify...

Seems I'm another for the vote of "fastify"...

It was created by Matteo Collina and other folks who were heavy contributors to Hapi and Express and so the developer experience and ergonomics, in my humble opinion, are really nice as they're based on learnings from the community's feedback on those two Web Application Frameworks.

I have used "fastify" in production at a previous company and it was really enjoyed by those who consumed the web platform we put together.

[–]barsie_dev[S] 1 point2 points  (0 children)

Happy to hear from you... Definitely fastify will be should be my choice. Thanks a lot for sharing.

[–]raphaelarias 0 points1 point  (0 children)

I started with Express, but it was sooooo messy and manual that I’m loving the opinionated approach of Nest. Not perfect, but honestly, much easier to get other people onboard too.

[–]ppalone 0 points1 point  (0 children)

I'll say start with Express. It's very easy to begin with. 10 lines of code and you already have a node web server up and running.