const express=require('express');
const app=express();
app.listen(3000,()=>{
    console.log('server is running at port 3000');
})
app.get('/',(req,res)=>{
    res.json('hello world');
})
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.

Nodejs写接口_数学建模