📜  node express 聊天应用程序 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:52.497000             🧑  作者: Mango

代码示例2
const app = require('express')();const http = require('http').createServer(app);app.get('/', (req, res) => {  res.send('

Hello world

');});http.listen(3000, () => { console.log('listening on *:3000');});