The following are some of the more famous frameworks that I currently know, based on node.js, that can be used to construct API:
I did some research before and chose hapi according to the actual situation of the project. Here I want to see everyone’s thoughts on different frameworks, such as advantages, disadvantages, usage scenarios, etc.
Architecture API, unlike web development, does not have a view layer, so I think, as long as it conforms to the principle of URL friendliness. We are using express now, because he has the largest number of users and it is easy to troubleshoot problems.