Express examplesExpress示例
This page contains list of examples using Express.此页面包含使用Express的示例列表。
- auth -
Authentication with login and password使用登录名和密码进行身份验证 - content-negotiation -
HTTP content negotiationHTTP内容协商 - cookie-sessions -
Working with cookie-based sessions使用基于cookie的会话 - cookies -
Working with cookies使用Cookie - downloads -
Transferring files to client将文件传输到客户端 - ejs -
Working with Embedded JavaScript templating (ejs)使用嵌入式JavaScript模板(ejs) - error-pages -
Creating error pages创建错误页面 - error -
Working with error middleware使用错误中间件 - hello-world -
Simple request handler简单请求处理程序 - markdown -
Markdown as template engineMarkdown作为模板引擎 - multi-router -
Working with multiple Express routers使用多个Express路由器 - mvc -
MVC-style controllersMVC风格的控制器 - online -
Tracking online user activity with使用online
andredis
packagesonline
和redis
包跟踪在线用户活动 - params -
Working with route parameters使用路线参数 - resource -
Multiple HTTP operations on the same resource同一资源上的多个HTTP操作 - route-map -
Organizing routes using a map使用地图组织路线 - route-middleware -
Working with route middleware使用路由中间件 - route-separation -
Organizing routes per each resource按每种资源组织路线 - search -
Search API搜索API - session -
User sessions用户会话 - static-files -
Serving static files提供静态文件 - vhost -
Working with virtual hosts使用虚拟主机 - view-constructor -
Rendering views dynamically动态渲染视图 - view-locals -
Saving data in request object between middleware calls在中间件调用之间将数据保存在请求对象中 - web-service -
Simple API service简单的API服务
Additional examples其他示例
These are some additional examples with more extensive integrations.这些是一些具有更广泛集成的其他示例。
Warning
This information refers to third-party sites, products, or modules that are not maintained by the Expressjs team. Listing here does not constitute an endorsement or recommendation from the Expressjs project team.此信息指的是不由Expressjs团队维护的第三方网站、产品或模块。此处列出并不构成Expressjs项目团队的认可或推荐。
- prisma-fullstack -
Fullstack app with Express and Next.js using Prisma as an ORM使用Prisma作为ORM的Express和Nextjs全栈应用程序 - prisma-rest-api-ts -
REST API with Express in TypeScript using Prisma as an ORM使用Prisma作为ORM的TypeScript中带有Express的REST API