Skip to content

简单示例

js
const express = require('express')
const app = express()
const port = 3000

app.get('/', (req, res) => {
  res.send('Hello World!')
}).listen(port, () => {
  console.log(`express 系统,运行在 http://127.0.0.1:${port}`)
})

Released under the MIT License.