What is Express.js?

后端 未结 8 2073
北荒
北荒 2020-12-02 03:42

I am a learner in Node.js.

  1. What\'s Express.js?
  2. What\'s the purpose of it with Node.js?
  3. Why do we actually need Express.js? How is it useful fo
8条回答
  •  自闭症患者
    2020-12-02 03:54

    Express is a module framework for Node that you can use for applications that are based on server/s that will "listen" for any input/connection requests from clients. When you use it in Node, it is just saying that you are requesting the use of the built-in Express file from your Node modules.

    Express is the "backbone" of a lot of Web Apps that have their back end in NodeJS. From what I know, its primary asset being the providence of a routing system that handles the services of "interaction" between 2 hosts. There are plenty of alternatives for it, such as Sails.

提交回复
热议问题