最简单的Express服务器hello world
const express = require("express")
const app = express()
const port = 3000
app.get("/",(req,res)=>res.send("hello,world"))
app.listen(port,()=>console.log(`Service is running...at ${port}!`))
原创
2020-10-21 16:35:44 ·
168 阅读 ·
0 评论