Answer the question
In order to leave comments, you need to log in
Which node js framework to choose?
I decided to do server development on a node. Tell me how things are with frameworks? Are there any mainstream ones like Laravel for php.
Answer the question
In order to leave comments, you need to log in
If it’s directly fashionable and mainstream, then NestJS , but it is strongly tied to TypeScript (which is undoubtedly a plus) and decorators (which are non-standard, which means, IMHO, a fat minus)
In addition to such a serious framework, there are microframeworks and libraries for specific tasks:
For example, to create HTTP servers have express , it is the most popular, it is under the hood of NestJS, but if the application is not very competently built, it is easy to kill performance (here is advice to use its router from the first days) Koa and Hapi
are good alternatives .
Under websocket usually everyone uses socket.io
, besides its popularity, its protocol is implemented in many languages, both as a server and as a client. Otherwise, IMHO, only cons.
As an alternative, there is ws-api , but the popularity is low, the typescript version is still under alpha, and everyone does not get around to finishing it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question