1. Express.js is one of the earliest frameworks in Node.js, and is still very popular today. It was written by TJ.

2. With the development of ECMAScript and the introduction of generator yield syntax, JS took a step towards synchronous writing of asynchronous code, and TJ launched koa.js in response.

  1. Koa.js is a mini-web framework. It’s easy to write a Hello World, but Web applications need sessions, view templates, routing, file uploads, and log management. None of these are available in Koa, so you’ll need to find them in the official Middleware. However, 100 people might find 100 combinations.

  2. Based on koa.js, egg.js addresses these issues by incorporating community best practices into koa.js, called egg.js, and addressing issues such as multi-process startup and hot updates at development time. This is developer-friendly, right out of the box, which is the best configuration. During the development of egg.js, ECMAScript introduced async await, which is more intuitive to write than the yield syntax async. Of course, koa.js is also synchronized to follow up, and the egg.js layer is koa.js, which is naturally followed up. TypeScript is hot right now, providing type checking and smarter code hints during coding. Egg.js does not support TypeScript, so the Taobao team introduced TypeScript support called MidwayJS on the basis of egg.js.

5.TypeScript is an inescapable topic. Nest. Js is a fully functional framework based on Express.js, which is packaged in Express.js and takes full advantage of TypeScript features. Nest. Js has a vibrant community and is growing fast. The downside is that if you have never been exposed to TS, the learning curve is a bit steep at first. Quick Start Nest. Js is an excellent Open source Web framework for Taobao, based on the Midway. The base of Midway. Js is based on egg.js and is well documented. Document entry

Copyright notice: This article is the original article of CSDN blogger “But do good things && Don’t ask future”, according to CC 4.0 BY-SA copyright agreement, please attach the original source link and this statement. Original link: blog.csdn.net/qq_25506089…