'use strict'constexpress=require('express')// create Express appconstapp=express()app.use(express.static(__dirname+'/public'));app.get('/test',(req,res)=>res.end('I\'m listening. Please access with static.'))// listen on portconstport=process.env.PORT||3000app.listen(port,()=>{console.log(`listening on ${port}`)})