官术网_书友最值得收藏!

Chapter 3. Building an Express Web Application

This chapter will cover the proper way of building your first Express application. You'll begin by installing and configuring the Express module, and then learn about Express' main APIs. We'll discuss Express request, response, and application objects and learn how to use them. We'll then cover the Express routing mechanism and learn how to properly use it. We'll also discuss the structure of the application folder and how you can utilize different structures for different project types. By the end of this chapter, you'll learn how to build a full Express application. In this chapter, we'll cover the following topics:

  • Installing Express and creating a new Express application
  • Organizing your project's structure
  • Configuring your Express application
  • Using the Express routing mechanism
  • Rendering EJS views
  • Serving static files
  • Configuring an Express session
主站蜘蛛池模板: 屏山县| 阿鲁科尔沁旗| 长汀县| 沂源县| 益阳市| 威海市| 和林格尔县| 阜平县| 祁东县| 五寨县| 陆丰市| 乐陵市| 嘉鱼县| 霍城县| 小金县| 祁门县| 寿宁县| 毕节市| 麻城市| 含山县| 宁化县| 五大连池市| 罗田县| 长治县| 浮山县| 武定县| 偏关县| 徐汇区| 建湖县| 新化县| 武定县| 彩票| 青岛市| 高安市| 铁力市| 阿拉善右旗| 县级市| 淳安县| 泗水县| 临朐县| 海阳市|