69.3k sao GitHub và vẫn tăng — expressjs/express là dự án JavaScript mà TopGit đang theo dõi trên nền tảng. Fast, unopinionated, minimalist web framework for node.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Fast, unopinionated, minimalist web framework for Node.js.
Table of contents
Installation
Features
Docs & Community
Quick Start
Philosophy
Examples
Contributing
Security Issues
Running Tests
Current project team members
TC (Technical Committee)
TC emeriti members
Triagers
Emeritus Triagers
License
import express from 'express'
const app = express()
app.get('/', (req, res) => {
res.send('Hello World')
})
app.listen(3000, () => {
console.log('Server is running on http://localhost:3000')
})
Installation
This is a Node.js module available through the
npm registry.
Before installing, download and install Node.js.
Node.js 18 or higher is required.
If this is a brand new project, make sure to create a package.json first with
the npm init command.
Installation is done using the
npm install command:
npm install express
Follow our installing guide
for more information.
Features
Robust routing
Focus on high performance
Super-high test coverage
HTTP helpers (redirection, caching, etc)
View system supporting 14+ template engines
Content negotiation
Executable for generating applications quickly
Docs & Community
Website and Documentation - [website repo]
GitHub Organization for Official Middleware & Modules
Github Discussions for discussion on the development and usage of Express
PROTIP Be sure to read the migration guide to v5
Quick Start
The quickest way to get started with express is to utilize the executable express(1) to generate an application as shown below:
Install the executable. The executable's major version will match Express's:
npm install -g express-generator@4
Create the app:
express /tmp/foo && cd /tmp/foo
Install dependencies:
npm install
Start the server:
npm start
View the website at: http://localhost:3000
Philosophy
The Express philosophy is to provide small, robust tooling for HTTP servers, making
it a great solution for single page applications, websites, hybrids, or public
HTTP APIs.
Express does not force you to use any specific ORM or template engine. With support for over
14 template engines via @ladjs/consolidate,
you can quickly craft your perfect framework.
Examples
To view the examples, clone the Express repository:
git clone https://github.com/expressjs/express.git --depth 1 && cd express
Then install the dependencies:
npm install
Then run whichever example you want:
node examples/content-negotiation
Contributing
The Express.js project welcomes all constructive contributions. Contributions take many forms,
from code for bug fixes and enhancements, to additions and fixes to documentation, additional
tests, triaging incoming pull requests and issues, and more!
See the Contributing Guide for more technical details on contributing.
This project has a Code of Conduct. By participating, you are expected to uphold this code.
Security Issues
If you discover a security vulnerability in Express, please see Security Policies and Procedures.
Running Tests
To run the test suite, first install the dependencies:
npm install
Then run npm test:
npm test
Current project team members
For information about the governance of the express.js project, see GOVERNANCE.md.
expressjs/express thuộc nhóm Backend trên TopGit, cùng 4 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về expressjs/express ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/expressjs/express là nguồn chính thức.
expressjs/express có phải mã nguồn mở không?
Có — expressjs/express phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/expressjs/express.
expressjs/express có trang demo không?
Dự án có trang chủ ở https://expressjs.com. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
expressjs/express dùng license gì?
expressjs/express phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
expressjs/express là gì?
expressjs/express (expressjs/express) là dự án JavaScript trên GitHub. Theo mô tả gốc: Fast, unopinionated, minimalist web framework for node.
Vì sao expressjs/express được xếp vào nhóm Backend?
TopGit xếp expressjs/express vào nhóm Backend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "express", "javascript", "nodejs"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.