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

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
主站蜘蛛池模板: 兴山县| 施秉县| 和田县| 集贤县| 辽宁省| 营口市| 玉屏| 武清区| 娱乐| 安多县| 太康县| 满城县| 垣曲县| 庄河市| 定陶县| 吉林省| 南阳市| 株洲县| 兴仁县| 阿拉尔市| 蓬莱市| 岳阳市| 临洮县| 木里| 陇川县| 平罗县| 灵寿县| 永宁县| 嘉善县| 炎陵县| 永康市| 化隆| 策勒县| 柳江县| 延津县| 莆田市| 吴江市| 河间市| 绥阳县| 浏阳市| 铜陵市|