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

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
主站蜘蛛池模板: 大丰市| 蒙城县| 巫溪县| 乌什县| 平江县| 余姚市| 体育| 潮州市| 绥芬河市| 合水县| 将乐县| 东乌| 岳池县| 南投县| 平度市| 怀远县| 武定县| 多伦县| 岳阳县| 张家川| 唐海县| 仙居县| 磐石市| 沛县| 海林市| 松原市| 宁波市| 封丘县| 池州市| 五台县| 万源市| 洪雅县| 称多县| 册亨县| 通山县| 霍山县| 肃南| 仁寿县| 海宁市| 油尖旺区| 澜沧|