foreword
We learned the vue framework yesterday, changed the previous interface to the vue framework this morning, and we started to learn NoedJs in the afternoon.
Then I won’t write the code, just go to the warehouse and download it.
test.js
After installing js, you can start the server locally
var express = require('express')
var server=express()
server.listen(3000)
server.get('/test', function(req, res){
res.send('请求成功...')
})
server.get('/test02', function(req, res){
res.send('请求成功02...')
})
You will see when you open the local port